[wpt-sync] Sync PR 24838 - Test restricted gamepad access in WPT
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24838 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24838
Details from upstream follow.
James Hollyer <jameshollyer@chromium.org> wrote:
Test restricted gamepad access in WPT
This CL adds WPT for gamepad feature policy and secure context. It also
adds virtual tests suites and expected results as these restrictions are
currently behind a flag.Bug:1098921
Change-Id: Icde27ddfbb6f95220d0b7455ae7c8da3fea11d82
Reviewed-on: https://chromium-review.googlesource.com/2333537
WPT-Export-Revision: 15129ca53387c2b2e7b3ff48d69b7ab0ba49ba6c
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 1 subtests
Status Summary
Firefox
OK : 3
PASS: 2
FAIL: 3
Chrome
OK : 3
PASS: 2
FAIL: 3
Safari
OK : 3
PASS: 2
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/gamepad/gamepad-secure-context.html
When in a non-secure context, getGamepad() should throw an error.: FAIL (Chrome: FAIL, Safari: FAIL)
/gamepad/gamepad-default-feature-policy.https.sub.html
Feature-Policy allow="gamepad" disallows cross-origin by default.: FAIL (Chrome: FAIL, Safari: FAIL)
/gamepad/gamepad-supported-by-feature-policy.html
document.featurePolicy.features should advertise gamepad.: FAIL (Chrome: FAIL, Safari: FAIL)
Updated•4 years ago
|
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/20085a598754
https://hg.mozilla.org/mozilla-central/rev/cd95626aa9e9
Description
•