[Webkit-unassigned] [Bug 150752] New: 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 Oct 30 19:59:30 PDT 2015


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

            Bug ID: 150752
           Summary: Web Inspector: Console: Variables defined with
                    let/const aren't accessible outside of console's scope
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nvasilyev at apple.com
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

> let x = 1
< undefined
> x
< ReferenceError: Can't find variable: x

> const y = 2
< undefined
> y
< ReferenceError: Can't find variable: y

This is particularly inconvenient when copy/pasting code snippets

Same problem persists in Chrome DevTools, but it works well in Firefox DevTools.

-- 
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/20151031/4d460928/attachment.html>


More information about the webkit-unassigned mailing list