[wpt-sync] Sync PR 37132 - webusb: Feature-Policy is now Permissions-Policy
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 37132 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37132
Details from upstream follow.
Reilly Grant <reillyg@chromium.org> wrote:
webusb: Feature-Policy is now Permissions-Policy
This finishes the work started in web-platform-tests/wpt#37107 and
renames all the Feature Policy tests for WebUSB so that they are
Permissions Policy tests and use the resources from /permissions-policy.Change-Id: Ib6c6722b25654d926cedefc0d0031c37cfbfcc9b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4049072
Reviewed-by: Raphael Kubo Da Costa \<raphael.kubo.da.costa@intel.com>
Auto-Submit: Reilly Grant \<reillyg@chromium.org>
Commit-Queue: Reilly Grant \<reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1075238}
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 1 subtests
Status Summary
Firefox
OK
: 2
PASS
: 4
FAIL
: 14
TIMEOUT
: 12
Chrome
OK
: 6
PASS
: 26
Safari
OK
: 2
PASS
: 4
FAIL
: 14
TIMEOUT
: 12
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webusb/usb-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:TIMEOUT
)- Permissions-Policy allow="usb" allows same-origin relocation.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Permissions-Policy allow="usb" allows workers in same-origin relocation.:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
) - Permissions-Policy allow="usb" disallows workers in cross-origin relocation.:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
)
- Permissions-Policy allow="usb" allows same-origin relocation.:
- /webusb/usb-allowed-by-permissions-policy-attribute.https.sub.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:TIMEOUT
)- Permissions policy "usb" can be enabled in same-origin iframe using allow="usb" attribute:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Permissions policy "usb" can be enabled in a worker in same-origin iframe using allow="usb" attribute:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
) - Permissions policy "usb" can be enabled in cross-origin iframe using allow="usb" attribute:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Permissions policy "usb" can be enabled in a worker in cross-origin iframe using allow="usb" attribute:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
) - Inherited header permissions policy allows dedicated workers.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Permissions policy "usb" can be enabled in same-origin iframe using allow="usb" attribute:
- /webusb/usb-allowed-by-permissions-policy.https.sub.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:TIMEOUT
)- Permissions-Policy header usb=* allows the top-level document.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Permissions-Policy header usb=* allows same-origin iframes.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Permissions-Policy header usb=* allows workers in same-origin iframes.:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
) - Permissions-Policy header usb=* allows cross-origin iframes.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Permissions-Policy header usb=* allows workers in cross-origin iframes.:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
) - Inherited header permissions policy allows dedicated workers.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Permissions-Policy header usb=* allows the top-level document.:
- /webusb/usb-default-permissions-policy.https.sub.html [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
] (Chrome:OK
, Safari:OK
)- Default "usb" permissions policy ["self"] allows the top-level document.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Default "usb" permissions policy ["self"] allows same-origin iframes.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Default "usb" permissions policy ["self"] allows the top-level document.:
- /webusb/usb-disabled-by-permissions-policy.https.sub.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:TIMEOUT
)- Permissions-Policy header usb=() disallows getDevices in the top-level document.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Permissions-Policy header usb=() disallows requestDevice in the top-level document.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - Permissions-Policy header usb=() disallows workers in same-origin iframes.:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
) - Permissions-Policy header usb=() disallows workers in cross-origin iframes.:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
) - Inherited Permissions-Policy header usb=() disallows dedicated workers.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Permissions-Policy header usb=() disallows getDevices in the top-level document.:
- /webusb/usb-supported-by-permissions-policy.html [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
] (Chrome:OK
, Safari:OK
)- document.featurePolicy.features should advertise usb.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- document.featurePolicy.features should advertise usb.:
Tests Disabled in Gecko Infrastructure
- /webusb/usb-allowed-by-permissions-policy-attribute-redirect-on-load.https.sub.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:TIMEOUT
) - /webusb/usb-allowed-by-permissions-policy-attribute.https.sub.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:TIMEOUT
) - /webusb/usb-allowed-by-permissions-policy.https.sub.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:TIMEOUT
) - /webusb/usb-default-permissions-policy.https.sub.html [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
] (Chrome:OK
, Safari:OK
) - /webusb/usb-disabled-by-permissions-policy.https.sub.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:TIMEOUT
) - /webusb/usb-supported-by-permissions-policy.html [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows10-32-2004-qr-debug
,Gecko-windows10-32-2004-qr-opt
,Gecko-windows10-64-2004-qr-debug
,Gecko-windows10-64-2004-qr-opt
] (Chrome:OK
, Safari:OK
)
Comment 4•2 years ago
|
||
bugherder |
Description
•