Closed Bug 1333381 Opened 7 years ago Closed 5 years ago

Formatting a JS file does not work when disabling sourcemaps

Categories

(DevTools :: Debugger, defect, P3)

50 Branch
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stof, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161209095719

Steps to reproduce:

- disable "Use original source" in dev tools
- click on the "format and indent" button of the debugger panel


Actual results:

The source is not formatted at all (unchanged)


Expected results:

Either the source is formatted, or the formatting action is removed from the UI if it cannot work when disabling sourcemaps
Component: Untriaged → Developer Tools: Debugger
> - disable "Use original source" in dev tools

Are you referring to the "Enable Source Maps" option?  This option above is more likely the Style Editor option.
Priority: -- → P3
Well, the debugger option is also named "Afficher les sources originales" in French (same message than for the Style Editor)
Blocks: source-maps
Product: Firefox → DevTools

This should work now. Could you try again and let us know if there is anything off?

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

yeah, I confirm that this is working fine for me now.

You need to log in before you can comment on or make changes to this bug.