NEW 198019
Web Inspector: Source maps: navigating to resource with missing source-mapped file should show available resource
https://bugs.webkit.org/show_bug.cgi?id=198019
Summary Web Inspector: Source maps: navigating to resource with missing source-mapped...
Nikita Vasilyev
Reported 2019-05-18 16:21:57 PDT
Created attachment 370202 [details] [Video] Bug Steps: 1. Open https://github.com 2. Log in (you need to have an account) 3. Inspect <body> 4. Click on the first source link in the styles sidebar (layout.scss:2) Expected: layout.scss isn't present on the server, as GitHub doesn't deploy their Sass files (but for some doesn't remove sourceMappingURL declarations). I expect to navigate to the corresponding rule in CSS resource (as the Sass file is 404). Actual: "Not Found" in the content view. There's no way to navigate to the CSS rule from the styles sidebar.
Attachments
[Video] Bug (916.80 KB, video/quicktime)
2019-05-18 16:21 PDT, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2019-05-18 16:22:10 PDT
Sam Sneddon [:gsnedders]
Comment 2 2022-08-02 09:23:41 PDT
This also happens with JS. e.g., https://chat.mozilla.org/bundles/966137753e93f2670808/init.js has //# sourceMappingURL=init.js.map Trying to set a breakpoint in init.js causes it to appear as a breakpoint somewhere we don't have the files, as they have URLs like webpack:///./react-sdk/src/BasePlatform.ts. When the breakpoint gets hit, we then don't see anything meaningful, as the source view for the hit breakpoint just says "An error occurred trying to load the resource".
Note You need to log in before you can comment on or make changes to this bug.