[Webkit-unassigned] [Bug 102690] [V8] Workers cannot make xhr requests in the presence of extensions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 19 08:37:57 PST 2012


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





--- Comment #3 from jochen at chromium.org  2012-11-19 08:39:53 PST ---
(From update of attachment 174988)
View in context: https://bugs.webkit.org/attachment.cgi?id=174988&action=review

> Source/WebCore/ChangeLog:9
> +        V8DOMWindowShell::getEntered

can you elaborate a bit on what the problem is and how you solve it?

> Source/WebCore/bindings/v8/custom/V8XMLHttpRequestConstructor.cpp:58
> +    if (isMainThread()) {

isn't the point that workers can't have extensions (= isolated worlds) in the first place? Shouldn't the check then be something like

if (context->isDocument()) {
    ASSERT(isMainThread());
    ... 
} else {
    ASSERT(context->isWorkerContext());
    securityOrigin = static_cast<WorkerContext*>(context)->topOrigin();
}

-- 
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