[Webkit-unassigned] [Bug 141475] Web Inspector: silent failure if introducing local variable in console when debugger paused

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 12 09:24:54 PST 2015


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

--- Comment #3 from Timothy Hatcher <timothy at apple.com> ---
To work with strict mode we have to make a closure and call eval() inside it while paused in the debugger.

http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/inspector/InjectedScriptSource.js#L409

The closure captures the var and it is thrown away each time. We could potentially reuse it while paused. But we really just need JSC support to avoid this hack.

It we could use with() while in strict mode, then we wouldn't need the closure.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150212/d6039a77/attachment-0002.html>


More information about the webkit-unassigned mailing list