Closed
Bug 1415628
Opened 7 years ago
Closed 5 years ago
CSS Source-Maps for LESS files no longer working after update to Firefox Developer Edition 58.0b1
Categories
(DevTools :: Style Editor, defect, P4)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: michael.simonson, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20171103003834
Steps to reproduce:
I ran Gulp to process my LESS files with css source-maps. Before this update, they used to work fine. Now only see the .css fiies not the .less files.
Actual results:
CSS Source maps were generated, and they do work in the Firefox, just not Firefox Developer Edition.
Expected results:
Should be able to see the .less file sources.
Component: Developer Tools: Debugger → Developer Tools: Style Editor
Updated•7 years ago
|
Blocks: source-maps
Comment 1•7 years ago
|
||
I wrote a simple less example here:
https://tromey.github.io/source-map-examples/
This works for me using a recent-ish artifact build.
Can you try it and see if it works for you?
Direct link: https://tromey.github.io/source-map-examples/less/index.html
Also make sure you have the correct pref enabled.
It's available in the devtools options pane.
If that link does work for you, then I wonder what's different about your setup.
I used lessc --source-map-map-inline
Reporter | ||
Comment 3•7 years ago
|
||
Hi Tom Trommey,
I tried the links you gave me, and they do work. So maybe there is something wrong with our gulp tasks.
Working with my engineer to see what could be wrong. It is strange though, because we did not have any issues until the recent updates to Firefox/Firefox Developer Edition.
One thing tho, we generate separate css.map files for each less file. We do not inline our source maps. Is this required?
Flags: needinfo?(michael.simonson)
Comment 4•7 years ago
|
||
(In reply to michael.simonson from comment #3)
> One thing tho, we generate separate css.map files for each less file. We do
> not inline our source maps. Is this required?
No, that's not required.
What option are you using? I could try that.
Reporter | ||
Comment 6•7 years ago
|
||
HI All,
So we started in-lining our css source maps and now they work with Firefox.
Thanks to everybody who responded to this issue.
Flags: needinfo?(michael.simonson)
Comment 7•7 years ago
|
||
I'm not sure now if I should leave this open, as the original problem remains undiagnosed;
or close it as it seems unlikely now to figure it out.
I have the same problem for stylus files. I am using webpack. The styles all show up as "inline". Should I open a new bug? I have tried this on Firefox Developer Edition (59.0b13) and regular Firefox (58.0.2). In Chrome the styles are shown. I'll upload a screenshot of the two.
Comment 10•7 years ago
|
||
(In reply to gregory from comment #8)
> I have the same problem for stylus files. I am using webpack. The styles all
> show up as "inline". Should I open a new bug? I have tried this on Firefox
> Developer Edition (59.0b13) and regular Firefox (58.0.2). In Chrome the
> styles are shown. I'll upload a screenshot of the two.
Can you say how to modify the test case from comment #1 to show the bug?
That would be very helpful.
The sources are here https://github.com/tromey/source-map-examples if that helps.
Flags: needinfo?(gregory)
Updated•6 years ago
|
Priority: -- → P4
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 11•5 years ago
|
||
This does not appear to have any repro steps and has been waiting for info for 2 years so I'm going to close it.
Updated•5 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•