mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
committed by
GitHub
parent
bb991716c6
commit
1250885332
2
test/fixtures/wpt/README.md
vendored
2
test/fixtures/wpt/README.md
vendored
@@ -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
|
||||
|
||||
|
||||
2
test/fixtures/wpt/versions.json
vendored
2
test/fixtures/wpt/versions.json
vendored
@@ -96,7 +96,7 @@
|
||||
"path": "WebCryptoAPI"
|
||||
},
|
||||
"webidl/ecmascript-binding/es-exceptions": {
|
||||
"commit": "a370aad338d6ed743abb4d2c6ae84a7f1058558c",
|
||||
"commit": "2f96fa19966d6bc19e979a09479ac8a7aa337c54",
|
||||
"path": "webidl/ecmascript-binding/es-exceptions"
|
||||
},
|
||||
"webmessaging/broadcastchannel": {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// META: global=window,dedicatedworker,shadowrealm
|
||||
|
||||
'use strict';
|
||||
|
||||
test(function() {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// META: global=window,dedicatedworker,shadowrealm
|
||||
|
||||
test(function() {
|
||||
assert_own_property(self, "DOMException", "property of global");
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// META: global=window,dedicatedworker,shadowrealm
|
||||
|
||||
'use strict';
|
||||
|
||||
test(function() {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// META: global=window,dedicatedworker,shadowrealm
|
||||
|
||||
"use strict";
|
||||
|
||||
test(() => {
|
||||
|
||||
9
test/fixtures/wpt/webidl/ecmascript-binding/es-exceptions/DOMException-is-error.any.js
vendored
Normal file
9
test/fixtures/wpt/webidl/ecmascript-binding/es-exceptions/DOMException-is-error.any.js
vendored
Normal 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()));
|
||||
});
|
||||
@@ -1 +1,10 @@
|
||||
{}
|
||||
{
|
||||
"DOMException-is-error.any.js": {
|
||||
"fail": {
|
||||
"note": "https://github.com/nodejs/node/issues/56497",
|
||||
"expected": [
|
||||
"DOMException-is-error"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user