[Webkit-unassigned] [Bug 244311] New: Debugger seemingly inspecting wrong scope? (sourcemap?)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 24 15:36:31 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244311
Bug ID: 244311
Summary: Debugger seemingly inspecting wrong scope?
(sourcemap?)
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: gsnedders at apple.com
CC: inspector-bugzilla-changes at group.apple.com
Created attachment 461846
--> https://bugs.webkit.org/attachment.cgi?id=461846&action=review
screenshot of inspector
On https://expedia.com, find the `container.style.setProperty('--menu-offset-translate-x', offset + "px");`, add a breakpoint there, then click to open the date picker. Note the scope of the debugger does not match the code displayed, and trying to evaluate what seem like sensible variable names leads to them not being found.
I wonder if this is caused by a source map and it's merely showing me the minified variable names in the scope?
--
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/20220824/68dc8b20/attachment-0001.htm>
More information about the webkit-unassigned
mailing list