[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 22:13:24 PDT 2016


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

--- Comment #24 from Joseph Pecoraro <joepeck at webkit.org> ---
Comment on attachment 278282
  --> https://bugs.webkit.org/attachment.cgi?id=278282
[PATCH] Addressed Comments

View in context: https://bugs.webkit.org/attachment.cgi?id=278282&action=review

> Source/JavaScriptCore/inspector/InjectedScriptSource.js:1404
> +    for (var i = 0; i < BasicCommandLineAPI.methods.length; ++i)
> +        this[method.name] = method;

Oops, this should be `for (var method of BasicCommandLineAPI.methods)`. I probably forgot to save before git adding. I'll fix as a follow-up.

-- 
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/20160507/c5150a18/attachment-0001.html>


More information about the webkit-unassigned mailing list