Closed Bug 1736105 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30956 - Create WPT for partitioned service workers

Categories

(Core :: DOM: Service Workers, task, P4)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Steven Bingler <bingler@chromium.org> wrote:

Create WPT for partitioned service workers

Add a test that verifies that services workers are partitioned and
cannot interact with each other when third-party partitioning is
enabled.

This CL verifies the enabled feature case by running the test in a
virtual test suite.

The test expectations are also updated to expect the test to fail in
the standard suite and pass in the virtual suite.

I manually verified this test by removing the window and iframe
cleanup/removals, running it in content_shell, and verifying that the
windows displayed the appropriate text demonstrating that the SW did
indeed get used.

Bug: 1246549
Change-Id: I22450e3abf496e4e011cc60ef7cfdf04acfdbcda
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3183843
Reviewed-by: Mason Freed \<masonf@chromium.org>
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Reviewed-by: Mike Taylor \<miketaylr@chromium.org>
Reviewed-by: Ben Kelly \<wanderview@chromium.org>
Commit-Queue: Steven Bingler \<bingler@chromium.org>
Cr-Commit-Position: refs/heads/main@{#932203}

Component: web-platform-tests → DOM: Service Workers
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/service-workers/service-worker/partitioned-service-worker.tentative.https.html
Services workers under different top-level sites are partitioned.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1483fa99aff5 [wpt PR 30956] - Create WPT for partitioned service workers, a=testonly https://hg.mozilla.org/integration/autoland/rev/6174f4ea7fb9 [wpt PR 30956] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.