Closed
Bug 1402382
Opened 7 years ago
Closed 7 years ago
stylesheet actor requests original source even when provided by source map
Categories
(DevTools :: Style Editor, defect, P3)
DevTools
Style Editor
Tracking
(firefox57 fix-optional)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
People
(Reporter: tromey, Unassigned)
References
(Blocks 1 open bug)
Details
The stylesheet actor can request an original source by trying to fetch
its URL, even when the source is available in the source map itself.
See https://github.com/mozilla/source-map/issues/211 for details.
It links to a reproducer: https://github.com/glen-84/ff-sourcemaps-issue
This will necessarily be fixed once bug 1179820 is done.
However it would be nice to verify the fix, perhaps by landing a test
case here.
Updated•7 years ago
|
status-firefox57:
--- → fix-optional
Reporter | ||
Comment 1•7 years ago
|
||
I think the basic issue is that the stylesheet actor passes in the full URL;
but the source map library won't accept this when the sourceRoot is relative.
https://github.com/mozilla/source-map/pull/282 should fix that.
Reporter | ||
Comment 2•7 years ago
|
||
I think I'll land a new source-map bundle here in the interim.
This will fix the problem and hedge against not converting the inspector.
Reporter | ||
Comment 3•7 years ago
|
||
Actually, I'll just file a new bug for landing the bundle.
At some point we may still want a test here.
Reporter | ||
Comment 4•7 years ago
|
||
There's a test upstream and the inspector is using client-side source maps now, so closing.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•