-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: Add a failing test for known stacktrace parsing bug URL paths with "@" in them incorrectly parse in Firefox/Safari due to a bug in the error-stack-parser module * fix: Upgrade to latest stacktracejs modules error-stack-parser contains a bugfix for the test in the previous commit stack-generator published a long-term dangling PR which we were depending on in a fork, so this just switches back to the main package * chore: Rebuild * test: Remove unnecessary assertion which is different for different browsers * test: Generalise assertion to cater for variation across browsers
- Loading branch information
1 parent
e258e78
commit dd5ce9a
Showing
8 changed files
with
55 additions
and
18 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
throw new Error('at in filename') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src="/node_modules/bugsnag-js/dist/bugsnag.min.js"></script> | ||
<script type="text/javascript"> | ||
var ENDPOINT = decodeURIComponent(window.location.search.match(/ENDPOINT=(.+)/)[1]) | ||
var bugsnagClient = bugsnag({ | ||
apiKey: 'ABC', | ||
endpoint: ENDPOINT | ||
}) | ||
</script> | ||
</head> | ||
<body> | ||
<pre id="bugsnag-test-should-run">YES</pre> | ||
<pre id="bugsnag-test-state">PENDING</pre> | ||
<script src="@dist/g.js"></script> | ||
<script> | ||
setTimeout(function () { | ||
var el = document.getElementById('bugsnag-test-state') | ||
el.textContent = el.innerText = 'DONE' | ||
}, 5000) | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters