Skip to content

Commit 438cb11

Browse files
panvaaduh95
authored andcommitted
test: update WPT resources,WebCryptoAPI,webstorage
PR-URL: #59311 Refs: #58987 Refs: #59310 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 7f767a2 commit 438cb11

35 files changed

+2571
-594
lines changed

β€Žtest/fixtures/wpt/README.mdβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ Last update:
2626
- interfaces: https://github.com/web-platform-tests/wpt/tree/e1b27be06b/interfaces
2727
- performance-timeline: https://github.com/web-platform-tests/wpt/tree/94caab7038/performance-timeline
2828
- resource-timing: https://github.com/web-platform-tests/wpt/tree/22d38586d0/resource-timing
29-
- resources: https://github.com/web-platform-tests/wpt/tree/1e140d63ec/resources
29+
- resources: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/resources
3030
- streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams
3131
- url: https://github.com/web-platform-tests/wpt/tree/a23788b77a/url
3232
- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing
3333
- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi
3434
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
35-
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/ab08796857/WebCryptoAPI
36-
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/a370aad338/webidl/ecmascript-binding/es-exceptions
35+
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/WebCryptoAPI
36+
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/2f96fa1996/webidl/ecmascript-binding/es-exceptions
3737
- webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853/webmessaging/broadcastchannel
38-
- webstorage: https://github.com/web-platform-tests/wpt/tree/1291340aaa/webstorage
38+
- webstorage: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/webstorage
3939

4040
[Web Platform Tests]: https://github.com/web-platform-tests/wpt
4141
[`git node wpt`]: https://github.com/nodejs/node-core-utils/blob/main/docs/git-node.md#git-node-wpt
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

β€Žtest/fixtures/wpt/WebCryptoAPI/getRandomValues.any.jsβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ for (const array of arrays) {
6060

6161
test(function() {
6262
const maxlength = 65536 / ctor.BYTES_PER_ELEMENT;
63-
assert_throws_dom("QuotaExceededError", function() {
64-
self.crypto.getRandomValues(new ctor(maxlength + 1))
65-
}, "crypto.getRandomValues length over 65536")
63+
assert_throws_quotaexceedederror(() => {
64+
self.crypto.getRandomValues(new ctor(maxlength + 1));
65+
}, null, null, "crypto.getRandomValues length over 65536");
6666
}, "Large length: " + array);
6767

6868
test(function() {
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)