[Webkit-unassigned] [Bug 251266] New: [GTK] Use a weak reference of web view in webkitWebViewGetLoadDecisionForIcon

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 27 06:30:04 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251266

            Bug ID: 251266
           Summary: [GTK] Use a weak reference of web view in
                    webkitWebViewGetLoadDecisionForIcon
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org

We don't want to delay the dispose of a web view because an icon load decision is still pending, so let's use a weak reference instead of a strong one. This fixes memory leaks reported by unit tests with 2022 API now that favicons are enabled by default.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230127/3c491280/attachment.htm>


More information about the webkit-unassigned mailing list