summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devtools/client/framework/source-map-worker.js3
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.