<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>244892</bug_id>
          
          <creation_ts>2022-09-07 08:46:55 -0700</creation_ts>
          <short_desc>[GTK4] -Wunused-function warnings from TestContextMenu.cpp</short_desc>
          <delta_ts>2022-09-09 03:34:13 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Michael Catanzaro">mcatanzaro</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1896822</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-09-07 08:46:55 -0700</bug_when>
    <thetext>[434/537] Building CXX object Tools/TestWebKitAPI/glib/CMa...stContextMenu.dir/__/Tests/WebKitGtk/TestContextMenu.cpp.o
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp: In member function ‘void ContextMenuCustomTest::activateMenuItem()’:
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:617:15: warning: unused variable ‘item’ [-Wunused-variable]
  617 |         auto* item = getMenuItem(menu, m_itemToActivateLabel);
      |               ^~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp: At global scope:
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:1136:13: warning: ‘void testContextMenuLiveStream(ContextMenuDefaultTest*, gconstpointer)’ defined but not used [-Wunused-function]
 1136 | static void testContextMenuLiveStream(ContextMenuDefaultTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:1057:13: warning: ‘void testContextMenuWebExtensionNode(ContextMenuWebExtensionNodeTest*, gconstpointer)’ defined but not used [-Wunused-function]
 1057 | static void testContextMenuWebExtensionNode(ContextMenuWebExtensionNodeTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:967:13: warning: ‘void testContextMenuWebExtensionMenu(ContextMenuWebExtensionTest*, gconstpointer)’ defined but not used [-Wunused-function]
  967 | static void testContextMenuWebExtensionMenu(ContextMenuWebExtensionTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:918:13: warning: ‘void testContextMenuDismissed(ContextMenuDismissedTest*, gconstpointer)’ defined but not used [-Wunused-function]
  918 | static void testContextMenuDismissed(ContextMenuDismissedTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:878:13: warning: ‘void testContextMenuSubMenu(ContextMenuSubmenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  878 | static void testContextMenuSubMenu(ContextMenuSubmenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:830:13: warning: ‘void testContextMenuCustomMenu(ContextMenuCustomFullTest*, gconstpointer)’ defined but not used [-Wunused-function]
  830 | static void testContextMenuCustomMenu(ContextMenuCustomFullTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:704:13: warning: ‘void testContextMenuPopulateMenu(ContextMenuCustomTest*, gconstpointer)’ defined but not used [-Wunused-function]
  704 | static void testContextMenuPopulateMenu(ContextMenuCustomTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:565:13: warning: ‘void testContextMenuKey(ContextMenuDefaultTest*, gconstpointer)’ defined but not used [-Wunused-function]
  565 | static void testContextMenuKey(ContextMenuDefaultTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:556:13: warning: ‘void testPopupEventSignal(ContextMenuDefaultTest*, gconstpointer)’ defined but not used [-Wunused-function]
  556 | static void testPopupEventSignal(ContextMenuDefaultTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:509:13: warning: ‘void testContextMenuDefaultMenu(ContextMenuDefaultTest*, gconstpointer)’ defined but not used [-Wunused-function]
  509 | static void testContextMenuDefaultMenu(ContextMenuDefaultTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
[457/537] Building CXX object Tools/TestWebKitAPI/glib/CMa...estOptionMenu.dir/__/Tests/WebKitGLib/TestOptionMenu.cpp.o
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestOptionMenu.cpp:269:13: warning: ‘void testOptionMenuSelect(OptionMenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  269 | static void testOptionMenuSelect(OptionMenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestOptionMenu.cpp:239:13: warning: ‘void testOptionMenuActivate(OptionMenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  239 | static void testOptionMenuActivate(OptionMenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestOptionMenu.cpp:158:13: warning: ‘void testOptionMenuGroups(OptionMenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  158 | static void testOptionMenuGroups(OptionMenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestOptionMenu.cpp:116:13: warning: ‘void testOptionMenuSimple(OptionMenuTest*, gconstpointer)’ defined but not used [-Wunused-function]
  116 | static void testOptionMenuSimple(OptionMenuTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~
[465/537] Building CXX object Tools/TestWebKitAPI/glib/CMa.../TestDownloads.dir/__/Tests/WebKitGLib/TestDownloads.cpp.o
/home/mcatanzaro/Projects/WebKit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:831:13: warning: ‘void testContextMenuDownloadActions(WebViewDownloadTest*, gconstpointer)’ defined but not used [-Wunused-function]
  831 | static void testContextMenuDownloadActions(WebViewDownloadTest* test, gconstpointer)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896824</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-09-07 08:57:41 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/4100</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1897199</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-09-09 03:34:10 -0700</bug_when>
    <thetext>Committed 254296@main (881a95924a0b): &lt;https://commits.webkit.org/254296@main&gt;

Reviewed commits have been landed. Closing PR #4100 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>