[Webkit-unassigned] [Bug 40300] [JSC] Web Inspector: implement script source editing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 2 04:25:22 PDT 2012


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





--- Comment #37 from Peter Wang <peter.wang at torchmobile.com.cn>  2012-07-02 04:25:20 PST ---
The main modifications of this patch are:
(1) Add a flag to JSC::Interpret::execute, if this flag is true that means we want to compile the code only. 
(2) In PageScriptDebugServer, record the map between frame and sourceID of JS to ensure the modified JS code will be recompiled in same world. 
(3) Implement WebCore::ScriptDebugServer::setScriptSource by calling JSC::Interpret::execute with a flag.


This solution takes the advantage that when JSC compile the same script it will replace the old Identifier with the new one.

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