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

File tree

8 files changed

+29
-3
lines changed

8 files changed

+29
-3
lines changed

test/fixtures/wpt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Last update:
3434
- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi
3535
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
3636
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/591c95ce61/WebCryptoAPI
37-
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/a370aad338/webidl/ecmascript-binding/es-exceptions
37+
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/2f96fa1996/webidl/ecmascript-binding/es-exceptions
3838
- webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853/webmessaging/broadcastchannel
3939
- webstorage: https://github.com/web-platform-tests/wpt/tree/1291340aaa/webstorage
4040

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
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
1-
{}
1+
{
2+
"DOMException-is-error.any.js": {
3+
"fail": {
4+
"note": "https://github.com/nodejs/node/issues/56497",
5+
"expected": [
6+
"DOMException-is-error"
7+
]
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)