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 b9a1292 commit 75623d5Copy full SHA for 75623d5
vendor/TraceKit/tracekit.js
@@ -348,7 +348,9 @@ TraceKit.computeStackTrace = (function computeStackTraceWrapper() {
348
// URL needs to be able to fetched within the acceptable domain. Otherwise,
349
// cross-domain errors will be triggered.
350
var source = '';
351
- if (url.indexOf(document.domain) !== -1) {
+ var domain = '';
352
+ try { domain = document.domain; } catch (e) {}
353
+ if (url.indexOf(domain) !== -1) {
354
source = loadSource(url);
355
}
356
sourceCache[url] = source ? source.split('\n') : [];
0 commit comments