CSS Source-Maps for LESS files no longer working after update to Firefox Developer Edition 58.0b1

UNCONFIRMED
Unassigned

Status

()

Firefox
Developer Tools: Style Editor
UNCONFIRMED
16 days ago
7 days ago

People

(Reporter: michael.simonson, Unassigned)

Tracking

(Blocks: 1 bug)

58 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 days ago
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.

Updated

16 days ago
Component: Untriaged → Developer Tools: Debugger
Component: Developer Tools: Debugger → Developer Tools: Style Editor

Updated

16 days ago
Blocks: 1339970

Comment 1

16 days 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

Comment 2

14 days ago
Forgot to mark NI.
Flags: needinfo?(michael.simonson)
(Reporter)

Comment 3

7 days 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 days 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.
You need to log in before you can comment on or make changes to this bug.