[wpt-sync] Sync PR 49384 - [shared storage] Implement `withLock` option for methods from PA worklets
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox135 fixed)
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
332.67 KB,
text/plain
|
Details |
Sync web-platform-tests PR 49384 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49384
Details from upstream follow.
Yao Xiao <yaoxia@chromium.org> wrote:
[shared storage] Implement
withLockoption for methods from PA workletsSimilar to what has been done for Window, SharedStorageWorklet, and
response headers, we add thewithLockparameter parsing logic in the
PA worklet, and send the final request to the browser process's central
SharedStorageLockManager component.We reuse AccessType::kWorkletSet, etc. for displaying events in
DevTools. Filed crbug.com/380291909 to further distinguish PA
worklet access from shared storage worklet access.Bug: 373899210
Change-Id: Ia16d256167be5a43adba699c2c9b55a626f7b0e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6047561
Reviewed-by: Maks Orlovich \<morlovich@chromium.org>
Commit-Queue: Yao Xiao \<yaoxia@chromium.org>
Reviewed-by: Cammie Smith Barnes \<cammie@chromium.org>
Reviewed-by: Ken Buchanan \<kenrb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1388539}
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
Comment 4•1 year ago
|
||
| bugherder | ||
Description
•