[Webkit-unassigned] [Bug 100136] [GTK] fast/files/workers/worker-apply-blob-url-to-xhr.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 23 11:00:01 PDT 2012


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





--- Comment #1 from Zan Dobersek <zandobersek at gmail.com>  2012-10-23 11:01:05 PST ---
The test passes when run alone but fails if the fast/files/workers/inline-worker-via-blob-url.html test preceeds it.

Describing it pretty simplified, when URL.createObjectURL gets first accessed in fast/files/workers/inline-worker-via-blob-url.html, the JSDOMURLConstructorTable has its entries set up[1] when JSDOMURLConstructor::getOwnPropertySlot is called and the 'createObjectURL' PropertyName returns the proper hash entry.

In fast/files/workers/worker-apply-blob-url-to-xhr.html, URL.createObjectURL is accessed inside a worker context, but the PropertyName used then has a StringImpl object, returned by publicName(), that's not pointing to the key of the appropriate hash entry[2]. Because of that the property is not found and the test fails.

The test also fails when run alone if URL.createObjectURL is accessed from the document context before the worker is started and URL.createObjectURL is accessed from that context.

[1] http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/runtime/Lookup.cpp#L28
[2] http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/runtime/Lookup.h#L209

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


More information about the webkit-unassigned mailing list