test: update WPT for es-exceptions to 2f96fa1996 · nodejs/node@76e3c8a · GitHub
Skip to content

Commit 76e3c8a

Browse files
nodejs-github-bottargos
authored andcommitted
test: update WPT for es-exceptions to 2f96fa1996
PR-URL: #58640 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
1 parent 450f481 commit 76e3c8a

8 files changed

Lines changed: 29 additions & 3 deletions

File tree

test/fixtures/wpt/README.md

Lines changed: 1 addition & 1 deletion

test/fixtures/wpt/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"path": "WebCryptoAPI"
9797
},
9898
"webidl/ecmascript-binding/es-exceptions": {
99-
"commit": "a370aad338d6ed743abb4d2c6ae84a7f1058558c",
99+
"commit": "2f96fa19966d6bc19e979a09479ac8a7aa337c54",
100100
"path": "webidl/ecmascript-binding/es-exceptions"
101101
},
102102
"webmessaging/broadcastchannel": {

test/fixtures/wpt/webidl/ecmascript-binding/es-exceptions/DOMException-constants.any.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// META: global=window,dedicatedworker,shadowrealm
2+
13
'use strict';
24

35
test(function() {

test/fixtures/wpt/webidl/ecmascript-binding/es-exceptions/DOMException-constructor-and-prototype.any.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// META: global=window,dedicatedworker,shadowrealm
2+
13
test(function() {
24
assert_own_property(self, "DOMException", "property of global");
35

test/fixtures/wpt/webidl/ecmascript-binding/es-exceptions/DOMException-constructor-behavior.any.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// META: global=window,dedicatedworker,shadowrealm
2+
13
'use strict';
24

35
test(function() {

test/fixtures/wpt/webidl/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// META: global=window,dedicatedworker,shadowrealm
2+
13
"use strict";
24

35
test(() => {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// META: global=window,dedicatedworker,shadowrealm
2+
3+
'use strict';
4+
5+
test(function() {
6+
// https://github.com/tc39/proposal-is-error/issues/9
7+
// https://github.com/whatwg/webidl/pull/1421
8+
assert_true(Error.isError(new DOMException()));
9+
});
Lines changed: 10 additions & 1 deletion

0 commit comments

Comments
 (0)