Skip to content

Commit 40cdf75

Browse files
anonrigtargos
authored andcommitted
test: update webstorage wpt
PR-URL: #56963 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com> Reviewed-By: Jason Zhang <xzha4350@gmail.com>
1 parent 9e60501 commit 40cdf75

7 files changed

+8
-5
lines changed

test/fixtures/wpt/README.md

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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
}
Lines changed: 1 addition & 1 deletion
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 renamed to test/fixtures/wpt/webstorage/localstorage-basic-partitioned.sub.html

Lines changed: 1 addition & 1 deletion
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 renamed to test/fixtures/wpt/webstorage/sessionStorage-basic-partitioned.sub.html

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy