test: update WPT for es-exceptions to 2f96fa1996

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Node.js GitHub Bot
2025-06-11 04:55:52 -04:00
committed by GitHub
parent bb991716c6
commit 1250885332
8 changed files with 29 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ Last update:
- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/591c95ce61/WebCryptoAPI
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/a370aad338/webidl/ecmascript-binding/es-exceptions
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/2f96fa1996/webidl/ecmascript-binding/es-exceptions
- webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853/webmessaging/broadcastchannel
- webstorage: https://github.com/web-platform-tests/wpt/tree/1291340aaa/webstorage

View File

@@ -96,7 +96,7 @@
"path": "WebCryptoAPI"
},
"webidl/ecmascript-binding/es-exceptions": {
"commit": "a370aad338d6ed743abb4d2c6ae84a7f1058558c",
"commit": "2f96fa19966d6bc19e979a09479ac8a7aa337c54",
"path": "webidl/ecmascript-binding/es-exceptions"
},
"webmessaging/broadcastchannel": {

View File

@@ -1,3 +1,5 @@
// META: global=window,dedicatedworker,shadowrealm
'use strict';
test(function() {

View File

@@ -1,3 +1,5 @@
// META: global=window,dedicatedworker,shadowrealm
test(function() {
assert_own_property(self, "DOMException", "property of global");

View File

@@ -1,3 +1,5 @@
// META: global=window,dedicatedworker,shadowrealm
'use strict';
test(function() {

View File

@@ -1,3 +1,5 @@
// META: global=window,dedicatedworker,shadowrealm
"use strict";
test(() => {

View File

@@ -0,0 +1,9 @@
// META: global=window,dedicatedworker,shadowrealm
'use strict';
test(function() {
// https://github.com/tc39/proposal-is-error/issues/9
// https://github.com/whatwg/webidl/pull/1421
assert_true(Error.isError(new DOMException()));
});

View File

@@ -1 +1,10 @@
{}
{
"DOMException-is-error.any.js": {
"fail": {
"note": "https://github.com/nodejs/node/issues/56497",
"expected": [
"DOMException-is-error"
]
}
}
}