[Webkit-unassigned] [Bug 229116] New: [GTK] WebkitWebView might loads twice if sharing same WebKitWebContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 14 21:53:02 PDT 2021


            Bug ID: 229116
           Summary: [GTK] WebkitWebView might loads twice if sharing same
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wusyong9104 at gmail.com
                CC: bugs-noreply at webkitgtk.org

Here's the repo and steps to reproduce the subtle bug I encountered:

It opens 10 webview windows. All of them share the same web context which registers a "gtk" URL scheme that loads a simple HTML.
But some window's pages will be stolen by others. (One window will show nothing and the other will display two HTML files)
I've tried adding locks but it has to be added after "load_changed" signal. Otherwise, the situation is still the same. And if I do so, it'll take a long time to show all windows (each window is displayed one by one)

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/20210815/14b2cd71/attachment.htm>

More information about the webkit-unassigned mailing list