Summary: | Web Inspector: sourceURL links should take you to the sourceURL resource, not original resource | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nikita Vasilyev <nvasilyev> | ||||
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | inspector-bugzilla-changes, jonowells, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 150114 | ||||||
Attachments: |
|
Description
Nikita Vasilyev
2015-02-27 19:08:02 PST
This is not a regression. The links work, they just don’t take you to the sourceURL named resource, and instead take you to the real resource. A valid location, just not the ideal location. I may be wrong, but I believe in Chrome, v8 parses the sourceURL comment and uses that in the JavaScript engine. So it would pass to the frontend the sourceURL. For us, any url:line:column our frontend gets we can compute where we want to show it. Still relevant. Reduction: http://nv.github.io/webkit-inspector-bugs/142123_source-maps/ (So you don't have to copy/paste code from the bug description.) |