fune/devtools/client/debugger/test/mochitest/examples/invalid-json-map.js
Alexandre Poirot e638e811eb Bug 1834725 - [devtools] Surface source map errors in Debugger frontend. r=devtools-reviewers,nchevobbe
I'm introducing a new dedicated method on SourceMapLoader so that we can:
* ensure retrieving the resolved source map URL, even in case of errors
  so that we can easily open the source map file from the frontend.
* pass all useful data in one worker call (ignore urls + sources + error + resolve source map url)

Display the source map error in a new dedicated warning footer in the bottom of the editor pane.

(Removing failing jest test. Mochitests should cover the source maps.)

Differential Revision: https://phabricator.services.mozilla.com/D188586
2024-01-11 15:27:25 +00:00

3 lines
94 B
JavaScript

function aBundleWithCorruptedSourceMapFile() {}
//# sourceMappingURL=map-with-json-error.map