Closed Bug 1467973 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 11447 - Add WebUSB FeaturePolicy WPT for Workers

Categories

(Core :: DOM: Device Interfaces, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11447 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/11447
Details from upstream follow.

Ovidio Henriquez <odejesush@chromium.org> wrote:
>  Add WebUSB FeaturePolicy WPT for Workers
>  
>  This change adds Feature Policy tests for Dedicated Workers.
>  
>  Bug: 841510
>  Change-Id: I117f8a5bb61d5783b6867e7edcc9d99aff41a497
>  Reviewed-on: https://chromium-review.googlesource.com/1093379
>  WPT-Export-Revision: 8cead8ad4f50e3c34cc7fa334db7bb92351d4904
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Ran 4 tests and 21 subtests
OK     : 2
PASS   : 2
FAIL   : 15
TIMEOUT: 6

Existing tests that now have a worse result (e.g. they used to PASS and now FAIL):
/webusb/usb-allowed-by-feature-policy.https.sub.html: TIMEOUT
/webusb/usb-disabled-by-feature-policy.https.sub.html: TIMEOUT

New tests that have failures or other problems:
/webusb/usb-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html
    Feature-Policy allow="usb" allows workers in same-origin relocation.: FAIL
    Feature-Policy allow="usb" disallows workers in cross-origin relocation.: FAIL
/webusb/usb-allowed-by-feature-policy-attribute.https.sub.html
    Feature policy "usb" can be enabled in a worker in cross-origin iframe using allow="usb" attribute: FAIL
    Feature policy "usb" can be enabled in a worker in same-origin iframe using allow="usb" attribute: FAIL
    Inherited header feature policy allows dedicated workers.: FAIL
/webusb/usb-allowed-by-feature-policy.https.sub.html
    Feature-Policy header {"usb" : ["*"]} allows workers in cross-origin iframes.: TIMEOUT
    Feature-Policy header {"usb" : ["*"]} allows workers in same-origin iframes.: TIMEOUT
    Inherited header feature policy allows dedicated workers.: FAIL
/webusb/usb-disabled-by-feature-policy.https.sub.html
    Feature-Policy header {"usb" : []} disallows workers in cross-origin iframes.: TIMEOUT
    Feature-Policy header {"usb" : []} disallows workers in same-origin iframes.: TIMEOUT
    Inherited Feature-Policy header {"usb" : []} disallows dedicated workers.: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/83c81aeaf344
[wpt PR 11447] - Add WebUSB FeaturePolicy WPT for Workers, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/c9e6209f3198
[wpt PR 11447] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/83c81aeaf344
https://hg.mozilla.org/mozilla-central/rev/c9e6209f3198
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.