Closed Bug 1859009 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 42535 - Shared Storage: Clean up in SharedStorageWritable permissions web tests

Categories

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

task

Tracking

(firefox121 fixed)

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Camillia Smith Barnes <cammie@chromium.org> wrote:

Shared Storage: Clean up in SharedStorageWritable permissions web tests

We fix two PermissionsPolicy web tests for shared storage to clean
up after themselves in order to prevent possible race conditions
where a sub test could pass/fail based on data from a different sub
test.

Bug:1218540
Change-Id: I4352082e7fd3a20e3b2308a5c2972378fdae3088

Reviewed-on: https://chromium-review.googlesource.com/4935336
WPT-Export-Revision: b46910583ed7fb106287f7414ee0090ccd9ca082

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 2 tests and 4 subtests

Status Summary

Firefox

OK : 2
PASS: 2
FAIL: 6

Chrome

OK : 2
PASS: 2
FAIL: 6

Safari

OK : 2
PASS: 2
FAIL: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /shared-storage/shared-storage-writable-permissions-policy-default.tentative.https.sub.html [wpt.fyi]
    • Default permissions policy allows the 'Shared-Storage-Writable' header to be sent for the same-origin shared storage fetch request.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Default permissions policy allows the 'Shared-Storage-Writable' header to be sent for the cross-origin shared storage fetch request.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Default permissions policy allows the 'Shared-Storage-Writable' header to be sent for the redirect of a shared storage fetch request, where the redirect has a same-origin URL.: FAIL (Chrome: FAIL, Safari: FAIL)
    • Default permissions policy allows the 'Shared-Storage-Writable' header to be sent for the redirect of a shared storage fetch request, where the redirect has a cross-origin URL.: FAIL (Chrome: FAIL, Safari: FAIL)
  • /shared-storage/shared-storage-writable-permissions-policy-self.tentative.https.sub.html [wpt.fyi]
    • permissions policy header shared-storage=(self) allows the 'Shared-Storage-Writable' header to be sent for the same-origin shared storage fetch request.: FAIL (Chrome: FAIL, Safari: FAIL)
    • permissions policy header shared-storage=(self) allows the 'Shared-Storage-Writable' header to be sent for the redirect of a shared storage fetch request, where the redirect has a same-origin URL.: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6e25053aa365 [wpt PR 42535] - Shared Storage: Clean up in SharedStorageWritable permissions web tests, a=testonly
Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.