Closed
Bug 1395545
Opened 7 years ago
Closed 7 years ago
some source map errors are not reported
Categories
(DevTools :: Framework, defect, P3)
DevTools
Framework
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: tromey, Assigned: tromey)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
If the .map file for a source-mapped source is missing, it will be reported.
However, if the .map file is invalid (missing a "version" field, or even
more extreme like non-JSON content), it will not be reported. It should be.
Assignee | ||
Comment 1•7 years ago
|
||
This turns out to happen because the worker tries to send an Error object
back using postMessage. But, Error objects can't be cloned in this way.
The fix will have to happen in the devtools-source-map module.
Assignee | ||
Comment 2•7 years ago
|
||
I'm going to use this bug to land an integration test.
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8903244 [details]
Bug 1395545 - test that an invalid source map is reported to the console;
https://reviewboard.mozilla.org/r/175042/#review180308
This looks good to me.
Attachment #8903244 -
Flags: review?(nchevobbe) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•7 years ago
|
||
Added the eslintignore bit.
Pushed by ttromey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5835416195ca
test that an invalid source map is reported to the console; r=nchevobbe
Comment 8•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•