diff options
author | Moonchild <moonchild@palemoon.org> | 2023-04-17 10:25:45 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-04-17 10:25:45 +0200 |
commit | 54e3e607964f828db06abc09c348544d2e2a88e9 (patch) | |
tree | 797c058f31e3be751eb00d8d3d11e5529940864e | |
parent | 2a05494abe2a54b72ae9bfda5f7cc5244921fc4a (diff) | |
download | uxp-54e3e607964f828db06abc09c348544d2e2a88e9.tar.gz |
Revert "[devtools] Don't allow sourcemap URLs to redirect"RB_20230417
This reverts commit 2a05494abe2a54b72ae9bfda5f7cc5244921fc4a.
-rw-r--r-- | devtools/client/framework/source-map-worker.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devtools/client/framework/source-map-worker.js b/devtools/client/framework/source-map-worker.js index ec269778b8..b6ac2c121f 100644 --- a/devtools/client/framework/source-map-worker.js +++ b/devtools/client/framework/source-map-worker.js @@ -87,8 +87,7 @@ async function _resolveAndFetch(generatedSource) : SourceMapConsumer { // Fetch the sourcemap over the network and create it. const sourceMapURL = _resolveSourceMapURL(generatedSource); const fetched = await fetch( - sourceMapURL, { loadFromCache: false, - redirect: error } + sourceMapURL, { loadFromCache: false } ); // Create the source map and fix it up. |