<?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>239538</bug_id>
          
          <creation_ts>2022-04-20 05:49:31 -0700</creation_ts>
          <short_desc>[GTK] Deprecate WebKitSettings:enable-java</short_desc>
          <delta_ts>2022-05-27 10:58:59 -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>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=239651</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=235151</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>210100</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Lauro Moura">lmoura</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1862901</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-04-20 05:49:31 -0700</bug_when>
    <thetext>Somehow we forgot to deprecate enable-java. It should be removed from GTK 4 API, and deprecated with GTK 3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1864315</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-04-25 17:37:23 -0700</bug_when>
    <thetext>Also: enable-xss-auditor</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871667</commentid>
    <comment_count>2</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-05-24 23:01:12 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1004</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871720</commentid>
    <comment_count>3</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-05-25 07:43:59 -0700</bug_when>
    <thetext>Updating summary after 250038@main handled enable-xss-auditor.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871726</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-05-25 08:21:16 -0700</bug_when>
    <thetext>(In reply to Lauro Moura from comment #3)
&gt; Updating summary after 250038@main handled enable-xss-auditor.

I&apos;m going to un-update the summary since enable-xss-auditor is deprecated, but has not been removed yet. It shouldn&apos;t exist at all in the GTK 4 API version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1871727</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-05-25 08:22:29 -0700</bug_when>
    <thetext>Well, actually, never mind. We don&apos;t actually need separate bugs to track removal of deprecated stuff. We have https://bugs.webkit.org/show_bug.cgi?id=235151 for that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872239</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-26 18:41:42 -0700</bug_when>
    <thetext>Committed r294920 (251036@main): &lt;https://commits.webkit.org/251036@main&gt;

Reviewed commits have been landed. Closing PR #1004 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872294</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-05-27 03:30:52 -0700</bug_when>
    <thetext>Introduced warnings:

                                                                     ^
/app/webkit/WebKitBuild/Release/WebKit2Gtk/Headers/webkit2/WebKitSettings.h:159:55: note: &apos;webkit_settings_get_enable_java&apos; has been explicitly marked deprecated here
__attribute__((visibility(&quot;default&quot;))) __attribute__((__deprecated__)) gboolean
                                                      ^
/app/webkit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:84:5: warning: &apos;webkit_settings_set_enable_java&apos; is deprecated [-Wdeprecated-declarations]
    webkit_settings_set_enable_java(settings, (0));
    ^
/app/webkit/WebKitBuild/Release/WebKit2Gtk/Headers/webkit2/WebKitSettings.h:162:55: note: &apos;webkit_settings_set_enable_java&apos; has been explicitly marked deprecated here
__attribute__((visibility(&quot;default&quot;))) __attribute__((__deprecated__)) void
                                                      ^
/app/webkit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:85:76: warning: &apos;webkit_settings_get_enable_java&apos; is deprecated [-Wdeprecated-declarations]
    do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (!(webkit_settings_get_enable_java(settings))) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message (((gchar*) 0), &quot;/app/webkit/Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp&quot;, 85, ((const char*) (__PRETTY_FUNCTION__)), &quot;&apos;&quot; &quot;webkit_settings_get_enable_java(settings)&quot; &quot;&apos; should be FALSE&quot;); } while (0);
                                                                           ^
/app/webkit/WebKitBuild/Release/WebKit2Gtk/Headers/webkit2/WebKitSettings.h:159:55: note: &apos;webkit_settings_get_enable_java&apos; has been explicitly marked deprecated here
__attribute__((visibility(&quot;default&quot;))) __attribute__((__deprecated__)) gboolean
                                                      ^
3 warnings generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872304</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-05-27 05:58:14 -0700</bug_when>
    <thetext>Reopening to fix warnings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872344</commentid>
    <comment_count>9</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-05-27 08:36:58 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1098</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1872364</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-05-27 10:58:56 -0700</bug_when>
    <thetext>Committed r294942 (251052@main): &lt;https://commits.webkit.org/251052@main&gt;

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

    </bug>

</bugzilla>