[Webkit-unassigned] [Bug 162113] New: Web Inspector: Scope sidebar shows "Closure" instead of "Local" when paused in anonymous function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 16 21:43:44 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=162113
Bug ID: 162113
Summary: Web Inspector: Scope sidebar shows "Closure" instead
of "Local" when paused in anonymous function
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: joepeck at webkit.org
CC: bburg at apple.com, joepeck at webkit.org,
mattbaker at apple.com, nvasilyev at apple.com,
timothy at apple.com, webkit-bug-importer at group.apple.com
Summary:
Scope sidebar shows "Closure" instead of "Local" when paused in anonymous function
Test:
<script>
(function f() {
let a;
var x;
debugger;
})();
</script>
Steps to Reproduce:
1. Inspect test page
2. Reload to trigger pause
3. Show Scope sidebar
=> Top scope says "Closure Variables" but should say "Local Variables"
Notes:
- We are comparing the empty string function name against `null` when merging scopes and trying to detect the top as Local
--
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/20160917/2db33ab0/attachment.html>
More information about the webkit-unassigned
mailing list