[Webkit-unassigned] [Bug 24043] New: [GTK] Workers with url 'about:blank' do not load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 19 16:02:28 PST 2009


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

           Summary: [GTK] Workers with url 'about:blank' do not load
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zandobersek at gmail.com


This problem can be seen in fast/events/dispatchEvent-crash.html[1] test that
is timing out on the Gtk buildbot. In the test, Worker is given a 'about:blank'
URL.

Normally, when loading about:blank through MainResourceLoader, we catch blank
URLs and prevent loading them, i.e. we finish loading and do not proceed with
actions, which otherwise at some point end up in ResourceHandle::start.
Worker uses Loader and ResourceLoader as its loaders, which do not check for
blank URLs. Therefor, we do get to ResourceHandle::start. From there on, it
seems that it depends on the network backend how about:blank is handled, but
that should not be the case.

Therefor, while the test is only failing for the Gtk port, I believe fix can be
applied directly into WebCore, as I tend to blame network backends of non-Gtk
ports being able to properly handle about:blank (which I only assume) while
LibSoup fails to do so.

As a fix, shouldLoadAsEmptyDocument() should be made available for other
loaders and properly planted into the Worker's loaders.

[1]:
http://trac.webkit.org/browser/trunk/LayoutTests/fast/events/dispatchEvent-crash.html


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list