[Webkit-unassigned] [Bug 150752] Web Inspector: Console: Variables defined with let/const aren't accessible outside of console's scope
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 6 09:22:22 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=150752
--- Comment #13 from Timothy Hatcher <timothy at apple.com> ---
Comment on attachment 278235
--> https://bugs.webkit.org/attachment.cgi?id=278235
[PATCH] Proposed Fix
View in context: https://bugs.webkit.org/attachment.cgi?id=278235&action=review
I'll let someone on the JSC team do the final review.
> LayoutTests/inspector/debugger/js-stacktrace-expected.txt:22
> - "functionName": "Eval Code",
> + "functionName": "Global Code",
Why is this one title case�
> LayoutTests/inspector/debugger/js-stacktrace-expected.txt:43
> - "functionName": "eval code",
> + "functionName": "global code",
⦠and this one isn't?
> Source/JavaScriptCore/inspector/InjectedScriptSource.js:528
> + // When not evaluating on a call frame, we evaluate as a program
> + // with the Command Line API as a scope extension object.
> + var result = InjectedScriptHost.evaluateWithScopeExtension(expression, commandLineAPI);
> + if (saveResult)
> + this._saveResult(result);
> + return result;
Nice! Too bad the while paused code is still so nasty.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160506/6a306744/attachment-0001.html>
More information about the webkit-unassigned
mailing list