[wpt-sync] Sync PR 36314 - [Permissions Policy Wildcards] (5) Add WPTs
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 36314 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36314
Details from upstream follow.
Ari Chivukula <arichiv@chromium.org> wrote:
[Permissions Policy Wildcards] (5) Add WPTs
We can see the entire thing work end to end now! This includes a fix for
the JS permissions inspection API now that it's tested e2e.
Design doc:
https://github.com/w3c/webappsec-permissions-policy/pull/482/This CL is part of a series:
(1) Add function to detect subdomain matches
(2) Use OriginWithPossibleWildcards in policy
(3) Propagate node source to allow list parser
(4) Parse wildcard subdomain matches
(5) Add WPTs
(6) Enable by defaultBug: 1345994
Change-Id: I8826db4e74eb8a40e09e176459fe5f84343d456e
Reviewed-on: https://chromium-review.googlesource.com/3938164
WPT-Export-Revision: 809e03120be894722a04da029b866d3de8d19398
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 9 subtests
Status Summary
Firefox
OK : 2
FAIL: 16
Chrome
OK : 2
PASS: 13
FAIL: 3
Safari
OK : 2
FAIL: 16
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /permissions-policy/permissions-policy-header-policy-allowed-for-malformed-wildcard.https.sub.html [wpt.fyi]
- Permissions-Policy: fullscreen=("$MALFORMED_WILDCARD_ORIGINS self") -- test allowlist lists all the malformed wildcards and self.:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("$MALFORMED_WILDCARD_ORIGINS self") -- test fullscreen is allowed on same-origin subframe:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("$MALFORMED_WILDCARD_ORIGINS self") -- test fullscreen is allowed on same-origin subframe with allow attribute:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("$MALFORMED_WILDCARD_ORIGINS self") -- test fullscreen is disallowed on cross-origin subframe:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("$MALFORMED_WILDCARD_ORIGINS self") -- test fullscreen is disallowed on cross-origin subframe allow attribute:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("$MALFORMED_WILDCARD_ORIGINS self") -- test fullscreen is disallowed on another cross-origin subframe:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("$MALFORMED_WILDCARD_ORIGINS self") -- test fullscreen is disallowed on another cross-origin subframe allow attribute:
FAIL(Chrome:PASS, Safari:FAIL)
- Permissions-Policy: fullscreen=("$MALFORMED_WILDCARD_ORIGINS self") -- test allowlist lists all the malformed wildcards and self.:
- /permissions-policy/permissions-policy-header-policy-allowed-for-wildcard.https.sub.html [wpt.fyi]
- Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test allowlist is [self wildcard_origin].:
FAIL(Chrome:FAIL, Safari:FAIL) - Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test fullscreen is allowed on same-origin subframe:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test fullscreen is allowed on same-origin subframe even with allow attribute:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test fullscreen is disallowed on cross-origin subframe:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test fullscreen is allowed on cross-origin subframe allow attribute:
FAIL(Chrome:FAIL, Safari:FAIL) - Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test fullscreen is disallowed on another cross-origin subframe:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test fullscreen is allowed on another cross-origin subframe allow attribute:
FAIL(Chrome:FAIL, Safari:FAIL) - Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test fullscreen is disallowed on cross-origin subframe with wildcard allow attribute:
FAIL(Chrome:PASS, Safari:FAIL) - Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test fullscreen is disallowed on another cross-origin subframe with wildcard allow attribute:
FAIL(Chrome:PASS, Safari:FAIL)
- Permissions-Policy: fullscreen=("https://*.web-platform.test:8443") -- test allowlist is [self wildcard_origin].:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/e06fae433378
https://hg.mozilla.org/mozilla-central/rev/9991668d9a03
Description
•