Skip to content

Commit

Permalink
Pass exception stack from AutoJSAPI::ReportException.
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D67791

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1623226
gecko-commit: 312da02ea6d6aef4ae98390fd2939543c3cd6b64
gecko-integration-branch: autoland
gecko-reviewers: baku
  • Loading branch information
evilpie authored and moz-wptsync-bot committed Mar 30, 2020
1 parent 79a262e commit 5633e64
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -20,6 +20,10 @@
var error_count = 0;
window.onerror = function(msg, url, lineno) {
++error_count;
test(function() {assert_equals(url, window.location.href)},
"correct url passed to window.onerror");
test(function() {assert_equals(lineno, 36)},
"correct line number passed to window.onerror");
};
</script>
<script>
Expand Down

0 comments on commit 5633e64

Please sign in to comment.