Closed Bug 1307580 Opened 8 years ago Closed 8 years ago

Preferences Pane should show Debugger source maps checkbox

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox52 fixed)

RESOLVED FIXED
Firefox 52
Tracking Status
firefox52 --- fixed

People

(Reporter: jlast, Assigned: jlast)

Details

Attachments

(1 file, 2 obsolete files)

Attached image Screen Shot 2016-10-04 at 4.04.42 PM.png (obsolete) —
We're currently adding support for source maps in the new debugger. When this lands, it will be helpful to toggle support in a couple of cases.
Assignee: nobody → jlaster
Priority: -- → P2
Attached patch source-map-pref.patch (obsolete) — Splinter Review
Attachment #8797743 - Flags: review?(jlong)
^ this was a quick pass, but i'm curious to get your feedback. After this lands, it'll be fairly easy to update shouldUseSourceMaps to refer back to Prefs as well, both locally with the Prefs shim and natively.
Comment on attachment 8797743 [details] [diff] [review]
source-map-pref.patch

Review of attachment 8797743 [details] [diff] [review]:
-----------------------------------------------------------------

This looks great, thanks for figuring this out!

Unfortunately, we need a new pref. This pref will turn on sourcemaps client-side too. We one which just the client-side can check. I'd rather we used a new pref though, because that would allow us to work with older Firefox versions easily (we'd turn off the native sourcemaps from them, and use our own). What do you think/
added a new pref
Attachment #8797742 - Attachment is obsolete: true
Attachment #8797743 - Attachment is obsolete: true
Attachment #8797743 - Flags: review?(jlong)
Attachment #8798593 - Flags: review?(jlong)
Comment on attachment 8798593 [details] [diff] [review]
source-map-pref2.patch

Review of attachment 8798593 [details] [diff] [review]:
-----------------------------------------------------------------

Awesome, thanks!

Maybe we'll aim to land this tomorrow if we feel good about updating the debugger too.
Attachment #8798593 - Flags: review?(jlong) → review+
Pushed by jlong@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/ba53dda46a53
Preferences Pane should show Debugger source maps checkbox. r=jlongster
https://hg.mozilla.org/mozilla-central/rev/ba53dda46a53
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
The Preferences Pane is now showing Debugger source maps checkbox on Beta 52.0b8

Build ID 	20170220070057
User Agent 	Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
[bugday-20170301]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: