[Webkit-unassigned] [Bug 153233] New: [GTK] Runtime critical warnings when loading a URL after a session restore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 19 06:48:34 PST 2016


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

            Bug ID: 153233
           Summary: [GTK] Runtime critical warnings when loading a URL
                    after a session restore
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bugs-noreply at webkitgtk.org

This happens when doing a normal load after restoring the back forward list form session state and the list contained forward items. In that case the forward items are removed from the list and we try to reference a WebBackForwardListItem wrapper that hasn't been created. We create the wrappers on demand, and when the back forward list is populated form session state, items are added to the list without creating their wrappers. That was not possible before, and that's why we assumed that any item that is removed from the list should have a wrapper already created.

I wrote a new test case for this:

/webkit2/WebKitWebView/navigation-after-session-restore: 
(bin/TestWebKitAPI/WebKit2Gtk/TestBackForwardList:31773): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160119/bc0c86a9/attachment.html>


More information about the webkit-unassigned mailing list