Closed Bug 1516736 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 14686 - [serial] Implement feature policy checks

Categories

(Testing :: web-platform-tests, enhancement, P4)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Reilly Grant <reillyg@chromium.org> wrote:
>  [serial] Implement feature policy checks
>  
>  This API should follow the example of WebUSB and require explicit
>  authorization via feature policy when used in a cross-origin iframe.
>  
>  Bug: 884928
>  Change-Id: Ia953c86a45e8b38b901b790b8aee912fd991e1a1
>  Reviewed-on: https://chromium-review.googlesource.com/1392357
>  WPT-Export-Revision: 98fb4941ab2b33165ac397acd504da4f3b6b6c40
Ran 7 tests and 28 subtests
OK     : 2
FAIL   : 10
TIMEOUT: 23

New tests that have failures or other problems:
/feature-policy/reporting/serial-report-only.https.html
    getPorts in serial report only mode: FAIL
    requestPort in serial report only mode: FAIL
/feature-policy/reporting/serial-reporting.https.html
    getPorts in serial reporting mode: FAIL
    requestPort in serial reporting mode: FAIL
/serial/serial-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html: TIMEOUT
    Feature-Policy allow="serial" allows same-origin relocation.: TIMEOUT
    Feature-Policy allow="serial" allows workers in same-origin relocation.: TIMEOUT
    Feature-Policy allow="serial" disallows cross-origin relocation.: TIMEOUT
    Feature-Policy allow="serial" disallows workers in cross-origin relocation.: TIMEOUT
/serial/serial-allowed-by-feature-policy-attribute.https.sub.html: TIMEOUT
    Feature policy "serial" can be enabled in a worker in cross-origin iframe using allow="serial" attribute: TIMEOUT
    Feature policy "serial" can be enabled in a worker in same-origin iframe using allow="serial" attribute: TIMEOUT
    Feature policy "serial" can be enabled in cross-origin iframe using allow="serial" attribute: TIMEOUT
    Feature policy "serial" can be enabled in same-origin iframe using allow="serial" attribute: TIMEOUT
    Inherited header feature policy allows dedicated workers.: FAIL
/serial/serial-allowed-by-feature-policy.https.sub.html: TIMEOUT
    Feature-Policy header {"serial" : ["*"]} allows cross-origin iframes.: TIMEOUT
    Feature-Policy header {"serial" : ["*"]} allows same-origin iframes.: TIMEOUT
    Feature-Policy header {"serial" : ["*"]} allows the top-level document.: FAIL
    Feature-Policy header {"serial" : ["*"]} allows workers in cross-origin iframes.: TIMEOUT
    Feature-Policy header {"serial" : ["*"]} allows workers in same-origin iframes.: TIMEOUT
    Inherited header feature policy allows dedicated workers.: FAIL
/serial/serial-default-feature-policy.https.sub.html: TIMEOUT
    Default "serial" feature policy ["self"] allows same-origin iframes.: TIMEOUT
    Default "serial" feature policy ["self"] allows the top-level document.: FAIL
    Default "serial" feature policy ["self"] disallows cross-origin iframes.: TIMEOUT
/serial/serial-disabled-by-feature-policy.https.sub.html: TIMEOUT
    Feature-Policy header {"serial" : []} disallows cross-origin iframes.: TIMEOUT
    Feature-Policy header {"serial" : []} disallows getPorts in the top-level document.: FAIL
    Feature-Policy header {"serial" : []} disallows same-origin iframes.: TIMEOUT
    Feature-Policy header {"serial" : []} disallows workers in cross-origin iframes.: TIMEOUT
    Feature-Policy header {"serial" : []} disallows workers in same-origin iframes.: TIMEOUT
    Inherited Feature-Policy header {"serial" : []} disallows dedicated workers.: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8d1357f4a0e8
[wpt PR 14686] - [serial] Implement feature policy checks, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/50987fe94dc4
[wpt PR 14686] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b23139608c8a
[wpt PR 14686] - [serial] Implement feature policy checks, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/22ba9f77d25c
[wpt PR 14686] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Depends on: 1531026
You need to log in before you can comment on or make changes to this bug.