Skip to content

Commit

Permalink
Check including the error message from Error constructor as required
Browse files Browse the repository at this point in the history
  • Loading branch information
CYBAI committed Nov 13, 2018
1 parent 23a4d64 commit 0d6ead9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/wpt/metadata/MANIFEST.json
Expand Up @@ -624649,7 +624649,7 @@
"testharness"
],
"html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events-onerror.html": [
"c76d531c43ec3ecc8cbf3c21f3a0ffa4db7be715",
"b6f6d63e0aa9660909c93e7366f80f4f36c97ecf",
"testharness"
],
"html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events.dedicatedworker.html": [
Expand Down
Expand Up @@ -15,7 +15,7 @@

window.onerror = function (msg, url, line, col, error) {
t.step(function() {
assert_equals(msg, 'Uncaught Error: e2');
assert_true(msg.includes('e2'));
assert_equals(error, e2);
});
t.done();
Expand Down

0 comments on commit 0d6ead9

Please sign in to comment.