Bug 111529

Summary: Web Inspector: use regular eval instead of injectScript for front-end extension API
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch pfeldman: review+

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>