Bug 61540
| Summary: | Support setIsolatedWorldSecurityOrigin in JSC ScriptController | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mihai Parparita <mihaip> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | abarth, fpizlo, ggaren, rakuco, rniwa |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mihai Parparita
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |