[wpt-sync] Sync PR 36899 - Refactor storage-access-api helpers for clarity/simplicity.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox108 fixed)
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36899 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36899
Details from upstream follow.
Chris Fredrickson <cfredric@chromium.org> wrote:
Refactor storage-access-api helpers for clarity/simplicity.
This CL doesn't change any behavior, but rearranges some helpers and
removes/renames some variables to try to make the helpers clearer.Change-Id: Ic87a9baeb99b4a04a4d467c2f1c2251e863e2d9c
Reviewed-on: https://chromium-review.googlesource.com/4016856
WPT-Export-Revision: e1dd2cd96a65cf9622a5c069b5f02e63d87ef1bb
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Safari on GitHub CI
Total 5 tests and 5 subtests
Status Summary
Firefox
OK : 3
PASS : 47
FAIL : 8
TIMEOUT: 4
NOTRUN : 4
Safari
OK : 5
PASS : 38
FAIL : 23
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /storage-access-api/hasStorageAccess.sub.window.html [wpt.fyi]
- [top-level-context] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Safari:FAIL) - [same-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Safari:FAIL) - [cross-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Safari:PASS) - [nested-same-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Safari:FAIL) - [nested-cross-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Safari:PASS)
- [top-level-context] document.hasStorageAccess() should be disallowed in insecure contexts:
- /storage-access-api/requestStorageAccess.sub.https.window.html [wpt.fyi]:
TIMEOUT(Safari:OK)- [non-fully-active] document.requestStorageAccess() should not resolve when run in a detached frame:
TIMEOUT(Safari:FAIL) - [non-fully-active] document.requestStorageAccess() should not resolve when run in a detached DOMParser document:
NOTRUN(Safari:FAIL) - [top-level-context] document.requestStorageAccess() should be resolved when called properly with a user gesture:
NOTRUN(Safari:PASS)
- [non-fully-active] document.requestStorageAccess() should not resolve when run in a detached frame:
- /storage-access-api/requestStorageAccess.sub.window.html [wpt.fyi]:
TIMEOUT(Safari:OK)- [non-fully-active] document.requestStorageAccess() should reject when run in a detached frame:
TIMEOUT(Safari:FAIL) - [non-fully-active] document.requestStorageAccess() should reject when run in a detached DOMParser document:
NOTRUN(Safari:FAIL) - [top-level-context] document.requestStorageAccess() should be rejected when called with a user gesture in insecure context:
NOTRUN(Safari:FAIL)
- [non-fully-active] document.requestStorageAccess() should reject when run in a detached frame:
- /storage-access-api/storageAccess.testdriver.sub.html [wpt.fyi]
- Set up storage access rules:
FAIL(Safari:FAIL) - [third-party-blocked-on-first-party-site] Cookie access is allowed: false:
FAIL(Safari:FAIL) - [third-party-blocked-all] Cookie access is allowed: false:
FAIL(Safari:FAIL)
- Set up storage access rules:
Comment 5•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4fedf418efdd
https://hg.mozilla.org/mozilla-central/rev/ef4ad80f957b
Description
•