Closed Bug 1415628 Opened 7 years ago Closed 4 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)

58 Branch
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: michael.simonson, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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: Untriaged → Developer Tools: Debugger
Component: Developer Tools: Debugger → Developer Tools: Style Editor
Blocks: source-maps
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
Forgot to mark NI.
Flags: needinfo?(michael.simonson)
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)
(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.
See Tom's question above.
Flags: needinfo?(michael.simonson)
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)
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.
Attached image 2018-03-02_11-02-09.png
Chrome vs firefox dev tool for css source maps
(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)
Priority: -- → P4
Product: Firefox → DevTools

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.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: