Skip to content

Commit 40cdf75

Browse files
anonrigtargos
authored andcommitted
test: update webstorage wpt
PR-URL: #56963 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Matthew Aitken <[email protected]> Reviewed-By: Jason Zhang <[email protected]>
1 parent 9e60501 commit 40cdf75

7 files changed

+8
-5
lines changed

test/fixtures/wpt/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Last update:
3636
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/3e3374efde/WebCryptoAPI
3737
- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/a370aad338/webidl/ecmascript-binding/es-exceptions
3838
- webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853/webmessaging/broadcastchannel
39-
- webstorage: https://github.com/web-platform-tests/wpt/tree/9dafa89214/webstorage
39+
- webstorage: https://github.com/web-platform-tests/wpt/tree/1291340aaa/webstorage
4040

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

test/fixtures/wpt/versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"path": "webmessaging/broadcastchannel"
105105
},
106106
"webstorage": {
107-
"commit": "9dafa892146c4b5b1f604a39b3cf8677f8f70d44",
107+
"commit": "1291340aaaa6e73db43b412e47401eca3830c556",
108108
"path": "webstorage"
109109
}
110110
}

test/fixtures/wpt/webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.tentative.html test/fixtures/wpt/webstorage/localstorage-about-blank-3P-iframe-opens-3P-window.partitioned.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
for (let id in ids) {
5858
assert_true(id !== undefined, "id is not undefined");
5959
}
60-
// Note: we use assert_true, rather than assert_equals because we're
60+
// Note: we use assert_true, rather than assert_equals becuase we're
6161
// setting random numbers as IDs - this would mean expectations
6262
// files wouldn't work as intended.
6363
assert_true(crossSiteIframeAboutBlankID !== crossSiteIframeID,

test/fixtures/wpt/webstorage/localstorage-basic-partitioned.tentative.sub.html test/fixtures/wpt/webstorage/localstorage-basic-partitioned.sub.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
assert_true(typeof sameSiteID === "string");
3939

4040
if (location.origin !== altOrigin) {
41-
crossSiteWindow = window.open(`${altOrigin}/webstorage/localstorage-basic-partitioned.tentative.sub.html`, "", "noopener=false");
41+
crossSiteWindow = window.open(`${altOrigin}/webstorage/localstorage-basic-partitioned.sub.html`, "", "noopener=false");
4242
t.add_cleanup(() => crossSiteWindow.close());
4343
}
4444
}

test/fixtures/wpt/webstorage/sessionStorage-basic-partitioned.tentative.sub.html test/fixtures/wpt/webstorage/sessionStorage-basic-partitioned.sub.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
// new cross-site window that contains our shared-iframe to repeat
4848
// the process in a cross-site environment.
4949
if (location.origin !== altOrigin) {
50-
crossSiteWindow = window.open(`${altOrigin}/webstorage/sessionStorage-basic-partitioned.tentative.sub.html`, "", "noopener=false");
50+
crossSiteWindow = window.open(`${altOrigin}/webstorage/sessionStorage-basic-partitioned.sub.html`, "", "noopener=false");
5151
t.add_cleanup(() => crossSiteWindow.close());
5252
}
5353
}

test/wpt/status/webstorage.json

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"localstorage-cross-origin-iframe.tentative.https.window.js": {
99
"skip": "iframes are not supported in Node.js."
1010
},
11+
"localstorage-cross-origin-iframe.https.window.js": {
12+
"skip": "iframes are not supported in Node.js."
13+
},
1114
"storage_local_window_open.window.js": {
1215
"skip": "window.open() is not supported in Node.js."
1316
},

0 commit comments

Comments
 (0)