[Webkit-unassigned] [Bug 85709] [JSC] Web Inspector: support JS execution in the context of an isolated world

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 22 23:40:29 PDT 2012


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





--- Comment #7 from Yury Semikhatsky <yurys at chromium.org>  2012-05-22 23:39:32 PST ---
(In reply to comment #6)
> (In reply to comment #5)
> > In the inspector UI we have a combobox with URLs of all the extensions that have content scripts in the selected Frame.
> 
> Which URL do you use? The content script URL? Global page URL? Something else?
> 
The URL of an extension that created the context and will evaluate all content scripts in it. As I understand this URL is used for security checks when the content script sends XHR for example(a counterpart of DOMWindow::securityOrigin for isolated world).

> In WebKit, DOMWrapperWorld doesn't require an associated URL or domain, so it doesn't have one to display. Perhaps you could infer a URL for display simply by recording the first URL passed to ScriptController::evaluateInWorld() for any give DOMWrapperWorld.
This sounds reasonable, given that DOMWrapperWorld doesn't require an associated URL or domain I don't think we can come up with a better solution in this case.

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