[wpt-sync] Sync PR 36687 - Split up SAA tests, add test for basic permission states.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36687 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36687
Details from upstream follow.
Johann Hofmann <johannhof@chromium.org> wrote:
Split up SAA tests, add test for basic permission states.
This removes the recurive monolithical single SAA test file in favor of
smaller ones. This helps test grant cases where we need to have both
user interaction and permission grants, which were extremely unreliable
with the larger test file.Bug: 1378969, 1374277
Change-Id: Iebc9bd48185ff398181bf1a16c35995a2467cb54
Reviewed-on: https://chromium-review.googlesource.com/3986031
WPT-Export-Revision: 20a1532c847c0849c02ef57664079116baebc38c
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•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 Firefox, Chrome, and Safari on GitHub CI
Total 8 tests and 3 subtests
Status Summary
Firefox
OK : 6
PASS : 30
FAIL : 13
TIMEOUT: 4
NOTRUN : 3
Chrome
OK : 6
FAIL : 44
TIMEOUT: 1
ERROR : 2
Safari
OK : 8
PASS : 22
FAIL : 26
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
New Tests That Don't Pass
- /storage-access-api/hasStorageAccess-insecure.sub.window.html [wpt.fyi]
- [top-level-context] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Chrome:FAIL, Safari:FAIL) - [cross-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Chrome:FAIL, Safari:PASS) - [same-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Chrome:FAIL, Safari:FAIL) - [nested-same-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Chrome:FAIL, Safari:FAIL) - [nested-cross-origin-frame] document.hasStorageAccess() should be disallowed in insecure contexts:
FAIL(Chrome:FAIL, Safari:PASS)
- [top-level-context] document.hasStorageAccess() should be disallowed in insecure contexts:
- /storage-access-api/requestStorageAccess-cross-origin-iframe.sub.https.window.html [wpt.fyi]
- [cross-origin-frame] document.requestStorageAccess() should be resolved when called properly with a user gesture:
FAIL(Chrome:FAIL, Safari:FAIL) - [cross-origin-frame] document.requestStorageAccess() should be rejected with a NotAllowedError without permission grant:
FAIL(Chrome:FAIL, Safari:FAIL) - [cross-origin-frame] document.requestStorageAccess() should be rejected with a NotAllowedError with denied permission:
FAIL(Chrome:FAIL, Safari:FAIL)
- [cross-origin-frame] document.requestStorageAccess() should be resolved when called properly with a user gesture:
- /storage-access-api/requestStorageAccess-insecure.sub.window.html [wpt.fyi]:
TIMEOUT(Chrome:ERROR, Safari:OK)- [non-fully-active] document.requestStorageAccess() should reject when run in a detached frame:
TIMEOUT(Chrome:FAIL, Safari:FAIL) - [non-fully-active] document.requestStorageAccess() should reject when run in a detached DOMParser document:
NOTRUN(Chrome:FAIL, Safari:FAIL) - [top-level-context] document.requestStorageAccess() should be rejected when called with a user gesture in insecure context:
NOTRUN(Chrome:TIMEOUT, Safari:FAIL)
- [non-fully-active] document.requestStorageAccess() should reject when run in a detached frame:
- /storage-access-api/requestStorageAccess-nested-cross-origin-iframe.sub.https.window.html [wpt.fyi]
- [nested-cross-origin-frame] document.requestStorageAccess() should be resolved when called properly with a user gesture:
FAIL(Chrome:FAIL, Safari:FAIL) - [nested-cross-origin-frame] document.requestStorageAccess() should be rejected with a NotAllowedError without permission grant:
FAIL(Chrome:FAIL, Safari:FAIL) - [nested-cross-origin-frame] document.requestStorageAccess() should be rejected with a NotAllowedError with denied permission:
FAIL(Chrome:FAIL, Safari:FAIL)
- [nested-cross-origin-frame] document.requestStorageAccess() should be resolved when called properly with a user gesture:
- /storage-access-api/requestStorageAccess-nested-same-origin-iframe.sub.https.window.html [wpt.fyi]
- [nested-same-origin-frame] document.requestStorageAccess() should be resolved when called properly with a user gesture:
FAIL(Chrome:FAIL, Safari:FAIL)
- [nested-same-origin-frame] document.requestStorageAccess() should be resolved when called properly with a user gesture:
- /storage-access-api/requestStorageAccess-non-fully-active.sub.https.window.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:OK)- [non-fully-active] document.requestStorageAccess() should not resolve when run in a detached frame:
TIMEOUT(Chrome:FAIL, Safari:FAIL) - [non-fully-active] document.requestStorageAccess() should not resolve when run in a detached DOMParser document:
NOTRUN(Chrome:FAIL, Safari:FAIL)
- [non-fully-active] document.requestStorageAccess() should not resolve when run in a detached frame:
- /storage-access-api/requestStorageAccess.sub.https.window.html [wpt.fyi]
- [top-level-context] document.requestStorageAccess() should be resolved when called properly with a user gesture:
FAIL(Safari:FAIL)
- [top-level-context] document.requestStorageAccess() should be resolved when called properly with a user gesture:
Comment 5•3 years ago
|
||
| bugherder | ||
Description
•