Closed Bug 1880383 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44596 - [shared storage] Support cross-origin worklet

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44596 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44596
Details from upstream follow.

Yao Xiao <yaoxia@chromium.org> wrote:

[shared storage] Support cross-origin worklet

For the sharedStorage.createWorklet() API, relax the restriction to
allow cross-origin script, in which case a cross-origin worklet will
be created.

We leverage the existing process allocation and management logic from
service workers and directly re-use
SiteInstanceImpl::CreateForServiceWorker(). To keep this CL focused,
renaming will occur in a separate CL, as it involves renaming other
downstream components like 'UnmatchedServiceWorkerProcessTracker'.

Explainer: https://github.com/WICG/shared-storage/pull/130
Spec: https://github.com/WICG/shared-storage/pull/131
Design doc:
https://docs.google.com/document/d/1QTaaroCMeFVZVghI6JkUcDvmDQEacjvpyTfk6mpvQhA/edit?usp=sharing&resourcekey=0-dqfVkB2DJcTzHLfJkern0Q

Bug: 325302836
Change-Id: I11c1fc87bc76f4400c54d9fa809349d1d1781247
Reviewed-on: https://chromium-review.googlesource.com/5296843
WPT-Export-Revision: efcadda7323f8ad43a4fe76be7163f48d33e7e18

PR 44596 applied with additional changes from upstream: f02fb3cd6328b73b3a7839fa6da9230ca1de82fe

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 11 tests and 1 subtests

Status Summary

Firefox

OK : 11
FAIL: 11

Chrome

OK : 11
FAIL: 11

Safari

OK : 11
FAIL: 11

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ab59d57a8b3 [wpt PR 44596] - [shared storage] Support cross-origin worklet, a=testonly https://hg.mozilla.org/integration/autoland/rev/a26c6ccfaf38 [wpt PR 44596] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.