Closed
Bug 1399570
Opened 7 years ago
Closed 7 years ago
Missing SCSS file described in source map raises stylesheet loading error
Categories
(DevTools :: Style Editor, defect, P3)
Tracking
(firefox57 fixed)
RESOLVED
DUPLICATE
of bug 1330383
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: kohei, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Originally reported in https://twitter.com/jitendravyas/status/908010217253756928
STR:
1. Open Developer Tools
2. Visit https://blog.nightly.mozilla.org/ or https://blog.mozilla.org/firefox/
Expected results:
No error as before. The error is actually correct but annoying, so it should be suppressed.
Actual results:
An error saying "Style sheet could not be loaded."
Updated•7 years ago
|
Blocks: source-maps
Priority: -- → P3
Comment 1•7 years ago
|
||
The error occurs because source maps are enabled and because one of the original source is not available.
If you disable source maps (the gear icon in the style editor has "Show original sources" - clear that checkbox),
you'll see a "style.css" with 541 rules (there are two style.css, so you have to look at the right one).
This says:
/*# sourceMappingURL=style.css.map */
The source map URL is served ok:
https://blog.nightly.mozilla.org/wp-content/themes/frontierline/style.css.map
And, hmm, I can fetch the sass file ok too:
https://blog.nightly.mozilla.org/wp-content/themes/frontierline/sass/style.scss
Aha I looked in the browser toolbox's network monitor and this is bug 1330383.
I think I may just fix that one in the interim since landing client-side source maps for
the inspector is proving to be hard.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Comment 2•7 years ago
|
||
Mirror the status of bug 1330383.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•