Closed Bug 1806615 Opened 2 years ago Closed 2 years ago

Rename sourceMaps to sourceMapsLoader in the debugger

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox110 fixed)

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This will help know which particular source map layer is used in the debugger.

This will help know which particular layer in source map stack we are using.

We could be using:

  1. The source-map library from devtools/client/shared/vendor/source-map/
    Which parse and query the JSON representation of source maps.
  2. The SourceMapLoader layer on top of the lib from devtools/client/shared/source-map-loader/
    Which helps load the lib within a worker and also handle all network requests to load
    the remote source map and original files.
  3. The SourceMapURLService exposed via the Toolbox from devtools/client/framework/source-map-url-service.js
    Which helps glue Source and StyleSheet "devtools resources" (i.e. ResourceCommand resources) to original sources and stylesheets.

I also removed sourceMapsEnabled from reducer as this isn't used.
We always read the pref.
And removed a few of sourceMaps/client leftover symbols.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff85e6dc729a [devtools] Rename sourceMaps to sourceMapsLoader in the debugger. r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: