mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Check including the error message from Error constructor as required
This commit is contained in:
parent
23a4d646ce
commit
0d6ead96a3
2 changed files with 2 additions and 2 deletions
|
@ -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": [
|
||||
|
|
|
@ -15,7 +15,7 @@ async_test(function(t) {
|
|||
|
||||
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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue