Bug 85617 - Web Inspector: add notion of JavaScript context id to the protocol
Summary: Web Inspector: add notion of JavaScript context id to the protocol
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 85612
  Show dependency treegraph
 
Reported: 2012-05-04 07:00 PDT by Yury Semikhatsky
Modified: 2012-05-11 04:49 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 2012-05-04 07:00:10 PDT
When evaluating a JavaScript code we need to specify in which context to perform the evaluation. Currently we can only specify a frame but there may be several isolated worlds sharing the same frame(e.g. content scripts injected by Chrome extensions) and we cannot specify in which of them we want to perform the eval. As we already have surrogate ID's for injected scripts it makes sense to reuse them for all contexts including those in isolated worlds and expose them in the protocol.
Comment 1 Yury Semikhatsky 2012-05-11 04:49:35 PDT
It was fixed as part of https://bugs.webkit.org/show_bug.cgi?id=85612