Bug 61540 - Support setIsolatedWorldSecurityOrigin in JSC ScriptController
Summary: Support setIsolatedWorldSecurityOrigin in JSC ScriptController
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 09:50 PDT by Mihai Parparita
Modified: 2013-05-22 15:38 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Parparita 2011-05-26 09:50:56 PDT
In order to allow cross-origin XMLHttpRequests in user scripts in Chrome's extension system, bug 59843 added the ability to associated a SecurityOrigin with an isolated world (user scripts evaluate in an isolated world). This is currently only supported in the V8 ScriptController implementation.

A related change that is necessary is to modify the JSC XMLHttpRequest constructor wrapper to get this SecurityOrigin and associated it with the C++ instance.