Closed Bug 1824705 Opened 2 years ago Closed 2 years ago

Blackbox all sources in the souremaps x_google_ignoreList field

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Whiteboard: [devtools:relnote])

Attachments

(2 files)

Library authors have knowledge of framework code that may not be directly relevant to the developers who use their libraries. Such code can be blackboxed by default, which helps web developers to focus on relevant code.

The x_google_ignoreList extension (added by google) extends the current sourcemaps v3 specification to allow library authors define these sources using the x_google_ignoreList property.

Lets read the x_google_ignoreList field from the sourcemap and blackbox all the sources indicated when loading the devtools.

Assignee: nobody → hmanilla
Status: NEW → ASSIGNED

Also there is a patch to add support for ignoreList to the sourcemap library
https://github.com/mozilla/source-map/pull/481

Depends on D174356

See Also: → 905863
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6d2c97f858d [devtools] Add support for sourcemaps ignore list r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/d67c783fcd63 [devtools] Add test the sourcemaps ignorelist r=devtools-reviewers,nchevobbe
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b9d5882be65c [devtools] Add support for sourcemaps ignore list r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/020cb7b1b953 [devtools] Add test the sourcemaps ignorelist r=devtools-reviewers,nchevobbe
Regressions: 1834488
Flags: needinfo?(hmanilla)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Regressions: 1835308
Duplicate of this bug: 905863
Whiteboard: [devtools:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: