[Webkit-unassigned] [Bug 207180] New: Web Inspector: REGRESSION(r248287): Console: function objects saved to a $n will be invoked instead of just referenced when evaluating in the Console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 3 19:39:32 PST 2020


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

            Bug ID: 207180
           Summary: Web Inspector: REGRESSION(r248287): Console: function
                    objects saved to a $n will be invoked instead of just
                    referenced when evaluating in the Console
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com
        Depends on: 195834

# STEPS TO REPRODUCE:
1. inspect any page
2. evaluate `function foo() { return "test"; }` in the Console
3. evaluate `foo`
 => should see `$1`
4. evaluate `$1`
 => `"test"` is logged instead of `function foo() { return "test"; }`


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=195834
[Bug 195834] Can't use $0, $1 etc when inspecting Google Docs pages because the content uses these for function names
-- 
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/20200204/1b88be9c/attachment.htm>


More information about the webkit-unassigned mailing list