<?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>252827</bug_id>
          
          <creation_ts>2023-02-23 07:33:29 -0800</creation_ts>
          <short_desc>[GLib] Ensure no final classes have public class structs</short_desc>
          <delta_ts>2023-03-01 08:29:47 -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>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>
          
          <blocked>210100</blocked>
          <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>1936181</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-02-23 07:33:29 -0800</bug_when>
    <thetext>In bug #243663 Adrian hid the class structs of most final classes. However, a few classes still do have public class structs because they have vtables. The vtables are now useless because the classes are not derivable, so they need to be hidden. This was not done in bug #243663 because it requires a little additional work to avoid breaking the original API version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936187</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-02-23 07:53:07 -0800</bug_when>
    <thetext>Affected classes are WebKitDownload, WebKitWebContext, and WebKitWebHitTestResult</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937142</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-02-27 12:25:33 -0800</bug_when>
    <thetext>Emmanuele says we should use g_signal_override_class_handler() rather than the g_signal_connect_after() that I had been planning to use.

I&apos;m planning to handle WebKitDownload in bug #238748 and the other two classes here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937747</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-03-01 06:52:28 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #1)
&gt; Affected classes are WebKitDownload, WebKitWebContext, and
&gt; WebKitWebHitTestResult

Actually, Adrian already handled WebKitWebHitTestResult. And we decided not to handle WebKitDownload in bug #238748 after all. So here I&apos;ll handle WebKitDownload and WebKitWebContext.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937751</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-03-01 07:18:14 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/10865</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937787</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-03-01 08:29:41 -0800</bug_when>
    <thetext>Committed 261011@main (5e3c2e27ef61): &lt;https://commits.webkit.org/261011@main&gt;

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

    </bug>

</bugzilla>