Bug 111529 - Web Inspector: use regular eval instead of injectScript for front-end extension API
Summary: Web Inspector: use regular eval instead of injectScript for front-end extensi...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Yury Semikhatsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-05 23:55 PST by Yury Semikhatsky
Modified: 2019-11-13 14:20 PST (History)
8 users (show)

See Also:


Attachments
Patch (8.91 KB, patch)
2013-03-06 04:31 PST, Yury Semikhatsky
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yury Semikhatsky 2013-03-05 23:55:03 PST
InspectorAgent::didClearWindowObjectInWorld calls InjectedScriptManager::injectScript to install inspector front-end extension API. The script doesn't depend on InjectedScriptHost and can be eval'd as a regular script.
Comment 1 Yury Semikhatsky 2013-03-06 04:31:05 PST
Created attachment 191715 [details]
Patch
Comment 2 Yury Semikhatsky 2013-03-06 06:09:45 PST
Committed r144916: <http://trac.webkit.org/changeset/144916>