8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e173aff commit 6fd0396Copy full SHA for 6fd0396
stacktrace-gps.js
@@ -26,7 +26,8 @@
26
req.onerror = reject;
27
req.onreadystatechange = function onreadystatechange() {
28
if (req.readyState === 4) {
29
- if (req.status >= 200 && req.status < 300) {
+ if ((req.status >= 200 && req.status < 300) ||
30
+ (url.substr(0, 7) === 'file://' && req.responseText)) {
31
resolve(req.responseText);
32
} else {
33
reject(new Error('HTTP status: ' + req.status + ' retrieving ' + url));
@@ -134,7 +135,6 @@
134
135
}
136
137
-
138
function _extractLocationInfoFromSourceMapSource(stackframe, sourceMapConsumer, sourceCache) {
139
return new Promise(function(resolve, reject) {
140
var loc = sourceMapConsumer.originalPositionFor({
0 commit comments