Closed Bug 1514504 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 14543 - Update interfaces/feature-policy.idl

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Automat af Gränssnitt <auto@foolip.org> wrote:
>  Update interfaces/feature-policy.idl
>  
>  This PR was automatically created by a bot.
>  
>  Before merging, please check that any tests that depend on the updated IDL files still work.
>  
>  If additional changes are needed, please manually create another PR based on this one.
>  
>  See the [README](https://github.com/web-platform-tests/wpt/blob/master/interfaces/README.md) for how the IDL files in this directory are used.
>  
>  <hr>
>  
>  Source: https://github.com/tidoust/reffy-reports/blob/a990a0a/whatwg/idl/feature-policy.idl
>  Build: https://travis-ci.org/tidoust/reffy-reports/builds/468318854
>  
>
Component: web-platform-tests → DOM
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 24 subtests
OK     : 1
PASS   : 14
FAIL   : 10

New tests that have failures or other problems:
/feature-policy/idlharness.window.html
    Document interface: attribute featurePolicy: FAIL
    Document interface: document must inherit property "featurePolicy" with the proper type: FAIL
    FeaturePolicy interface: calling allowsFeature(DOMString, DOMString) on document.featurePolicy with too few arguments must throw TypeError: FAIL
    FeaturePolicy interface: calling getAllowlistForFeature(DOMString) on document.featurePolicy with too few arguments must throw TypeError: FAIL
    FeaturePolicy interface: document.featurePolicy must inherit property "allowedFeatures()" with the proper type: FAIL
    FeaturePolicy interface: document.featurePolicy must inherit property "allowsFeature(DOMString, DOMString)" with the proper type: FAIL
    FeaturePolicy interface: document.featurePolicy must inherit property "features()" with the proper type: FAIL
    FeaturePolicy interface: document.featurePolicy must inherit property "getAllowlistForFeature(DOMString)" with the proper type: FAIL
    HTMLIFrameElement interface: attribute featurePolicy: FAIL
    Stringification of document.featurePolicy: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/89014e27248d
[wpt PR 14543] - Update test to match IDL change, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/a8bc6563a192
[wpt PR 14543] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/22810cc045ff
[wpt PR 14543] - Update test to match IDL change, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/6550bd651682
[wpt PR 14543] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.