<?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>252383</bug_id>
          
          <creation_ts>2023-02-16 00:54:13 -0800</creation_ts>
          <short_desc>[GLib] WebKitPermissionRequest should use G_DECLARE_INTERFACE in 2022 API</short_desc>
          <delta_ts>2023-02-16 16:06:42 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit API</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=243663</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>210100</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1934108</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-02-16 00:54:13 -0800</bug_when>
    <thetext>Somewhat related to bug #243663, now that we have WEBKIT_DECLARE{,_DERIVABLE,_FINAL}_TYPE
then the WebKitPermissionRequest type should also use the new macros to cut on the manual
boilerplate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934113</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-02-16 01:09:31 -0800</bug_when>
    <thetext>Correction: it is an interface, so we want to use a new macro
i.e. WEBKIT_DECLARE_INTERFACE that forwards most of the work to
G_DECLARE_INTERFACE. Amusingly, the implementation is already
using G_DEFINE_INTERFACE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934167</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-02-16 07:47:33 -0800</bug_when>
    <thetext>Given that WebKitPermissionRequest is the only interface defined in the
API, I plan to skip making a WEBKIT_DEFINE_INTERFACE macro and put directly
an expansion of G_DECLARE_INTERFACE in the header. Also, it&apos;s not like we
want to do much other than what G_DECLARE_INTERFACE does anyway, so it does
not seem worth the effort to maintain a new macro inside WebKit :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934175</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2023-02-16 07:51:11 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/10200</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934356</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-16 16:05:33 -0800</bug_when>
    <thetext>Committed 260403@main (10d6f8608be4): &lt;https://commits.webkit.org/260403@main&gt;

Reviewed commits have been landed. Closing PR #10200 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934357</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-16 16:06:42 -0800</bug_when>
    <thetext>&lt;rdar://problem/105569323&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>