[wpt-sync] Sync PR 44326 - [SAA] Implementing SharedWorker support (Part 2: Expose same-site cookie IDL)
Categories
(Core :: DOM: Workers, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44326 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44326
Details from upstream follow.
Ari Chivukula <arichiv@chromium.org> wrote:
[SAA] Implementing SharedWorker support (Part 2: Expose same-site cookie IDL)
The Storage Access API provides access to unpartitioned cookies in
third-party contexts. This CL is part of a series to extend that access
to SharedWorkers.Before we actually provide access to SharedWorkers, we need a way for
the renderer to limit the scope of SameSite cookies provided to the
worker. Normally, a worker with a first-party storage key could access
all cookies, but if access is via the SAA handle we want to limit that
access to just SameSite: None cookies.This CL is part of a series to allow that limiting ability. For now, we
expose the option in IDL but do not implement the change needed to limit
cookie access in first-party contexts when the option is set to 'none'.
The next CL will implement this limit.Note: The ability to request 'all' in a third-party context is not added
here nor will it be added. We verify that an exception is thrown if this
is attempted.Explainer:
https://privacycg.github.io/saa-non-cookie-storage/shared-workers.htmlPart 1: Expose same-site cookie IPC
Part 2: Expose same-site cookie IDL
Part 3: Implement same-site cookie filtering
Part 4: Add SharedWorker support to SAA handleBug: 1484966
Change-Id: I8c56c02025950e119e3967afd49ed684446fd6e3
Reviewed-on: https://chromium-review.googlesource.com/5251551
WPT-Export-Revision: 2b19481b77d54fe6121b1b4715760a212d6b8ac9
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 1 subtests
Status Summary
Firefox
OK
: 6
PASS
: 5
FAIL
: 1
Chrome
OK
: 6
PASS
: 5
FAIL
: 1
Safari
OK
: 6
PASS
: 5
FAIL
: 1
Links
Details
New Tests That Don't Pass
- /workers/same-site-cookies/third-party.all.tentative.sub.https.window.html [wpt.fyi]
- Check SharedWorker sameSiteCookies option all for third-party:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Check SharedWorker sameSiteCookies option all for third-party:
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7965f59b1b91
https://hg.mozilla.org/mozilla-central/rev/eb8906025abb
Description
•