[wpt-sync] Sync PR 40037 - Shared Storage: Add sharedStorageWritable option to fetch
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox116 fixed)
| Tracking | Status | |
|---|---|---|
| firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40037 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40037
Details from upstream follow.
Camillia Smith Barnes <cammie@chromium.org> wrote:
Shared Storage: Add sharedStorageWritable option to fetch
We add the option to mark a request as eligible for writing to Shared
Storage, i.e. we addsharedStorageWritableto theRequestInitIDL
dictionary forfetch()and plumb it through to
network::ResourceRequest, subject to aPermissionsPolicythat may
change the value of the bit for redirects.Tests will be added in the follow-up CL https://crrev.com/c/4519162.
This is part of a project to add support to writing to shared storage
from response headers. See
https://github.com/WICG/shared-storage/pull/70 for more information
and https://crrev.com/c/4444068 for a working prototype forfetch().Bug:1434529,1218540
Change-Id: Ib133492bd90e8cc37b9bc0c7bc61861e0b2afc63
Reviewed-on: https://chromium-review.googlesource.com/4517382
WPT-Export-Revision: bcb45ba53aef41488e9a85694c1106ff85717f4c
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 7 tests and 1 subtests
Status Summary
Firefox
OK : 4
PASS : 5
FAIL : 8
TIMEOUT: 9
Chrome
OK : 4
PASS : 5
FAIL : 8
TIMEOUT: 9
Safari
OK : 4
PASS : 5
FAIL : 8
TIMEOUT: 9
Links
Details
New Tests That Don't Pass
- /shared-storage/select-url-permissions-policy-none.tentative.https.sub.html [wpt.fyi]
- permissions policy header shared-storage-select-url=() disallows sharedStorage.selectURL() in the current page.:
FAIL(Chrome:FAIL, Safari:FAIL) - permissions policy header shared-storage-select-url=() disallows sharedStorage.selectURL() in same-origin iframes.:
FAIL(Chrome:FAIL, Safari:FAIL) - permissions policy header shared-storage-select-url=() disallows sharedStorage.selectURL() in cross-origin iframes.:
FAIL(Chrome:FAIL, Safari:FAIL)
- permissions policy header shared-storage-select-url=() disallows sharedStorage.selectURL() in the current page.:
- /shared-storage/select-url-permissions-policy-self.tentative.https.sub.html [wpt.fyi]
- permissions policy header shared-storage-select-url=(self) disallows sharedStorage.selectURL() in cross-origin iframes.:
FAIL(Chrome:FAIL, Safari:FAIL)
- permissions policy header shared-storage-select-url=(self) disallows sharedStorage.selectURL() in cross-origin iframes.:
- /shared-storage/shared-storage-permissions-policy-default.tentative.https.sub.html [wpt.fyi]:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)- Default permissions policy allows sharedStorage in the current page.:
FAIL(Chrome:FAIL, Safari:FAIL) - Default permissions policy allows sharedStorage in same-origin iframes.:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT) - Default permissions policy allows sharedStorage in cross-origin iframes.:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)
- Default permissions policy allows sharedStorage in the current page.:
- /shared-storage/shared-storage-permissions-policy-none.tentative.https.sub.html [wpt.fyi]:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)- permissions policy header shared-storage=() disallows sharedStorage in the current page.:
FAIL(Chrome:FAIL, Safari:FAIL) - permissions policy header shared-storage=() disallows sharedStorage in same-origin iframes.:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT) - permissions policy header shared-storage=() disallows sharedStorage in cross-origin iframes.:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)
- permissions policy header shared-storage=() disallows sharedStorage in the current page.:
- /shared-storage/shared-storage-permissions-policy-self.tentative.https.sub.html [wpt.fyi]:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)- permissions policy header shared-storage=(self) allows sharedStorage in the current page.:
FAIL(Chrome:FAIL, Safari:FAIL) - permissions policy header shared-storage=(self) allows sharedStorage in same-origin iframes.:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT) - permissions policy header shared-storage=(self) disallows sharedStorage in cross-origin iframes.:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)
- permissions policy header shared-storage=(self) allows sharedStorage in the current page.:
- /shared-storage/shared-storage-writable-insecure-context.tentative.http.sub.html [wpt.fyi]
- sharedStorageWritable not allowed in insecure context.:
FAIL(Chrome:FAIL, Safari:FAIL)
- sharedStorageWritable not allowed in insecure context.:
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c298f0632093
https://hg.mozilla.org/mozilla-central/rev/ea9df5a98127
Description
•