Skip to content

Commit 41bcf5f

Browse files
panvaRafaelGSS
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 46527e8 commit 41bcf5f

35 files changed

+2570
-593
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ 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/9504a83e01/url
3232
- urlpattern: https://github.com/web-platform-tests/wpt/tree/84b75f0880/urlpattern
3333
- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing
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
- web-locks: https://github.com/web-platform-tests/wpt/tree/10a122a6bc/web-locks
37-
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/ab08796857/WebCryptoAPI
37+
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/WebCryptoAPI
3838
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/2f96fa1996/webidl/ecmascript-binding/es-exceptions
3939
- webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853/webmessaging/broadcastchannel
40-
- webstorage: https://github.com/web-platform-tests/wpt/tree/1291340aaa/webstorage
40+
- webstorage: https://github.com/web-platform-tests/wpt/tree/1d2c5fb36a/webstorage
4141

4242
[Web Platform Tests]: https://github.com/web-platform-tests/wpt
4343
[`git node wpt`]: https://github.com/nodejs/node-core-utils/blob/main/docs/git-node.md#git-node-wpt

β€Ž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() {

0 commit comments

Comments
Β (0)