NEW244311
Debugger seemingly inspecting wrong scope? (sourcemap?)
https://bugs.webkit.org/show_bug.cgi?id=244311
Summary Debugger seemingly inspecting wrong scope? (sourcemap?)
Sam Sneddon [:gsnedders]
Reported 2022-08-24 15:36:31 PDT
Created attachment 461846 [details] 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?
Attachments
screenshot of inspector (688.10 KB, image/png)
2022-08-24 15:36 PDT, Sam Sneddon [:gsnedders]
no flags
Radar WebKit Bug Importer
Comment 1 2022-08-25 10:44:28 PDT
Note You need to log in before you can comment on or make changes to this bug.