Closed Bug 1572413 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18334 - [Trusted Types] Implement Trusted Types metadata api.

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

Daniel Vogelheim <vogelheim@chromium.org> wrote:

[Trusted Types] Implement Trusted Types metadata api.

Implement TrustedTypes.get[PropertyType|AttributeType|TypeMapping].

Bug: 739170, https://github.com/WICG/trusted-types/issues/43
Change-Id: I924a7a62e37dd29456b1e0a9252e45c7210986b0
Reviewed-on: https://chromium-review.googlesource.com/1725641
WPT-Export-Revision: 151e593daa293f884d5f7020f8d64a9f3fc06fc7

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Ran 3 tests and 26 subtests
OK     : 3
FAIL   : 26

New tests that have failures or other problems:
/trusted-types/GlobalEventHandlers-onclick.tentative.html
    GlobalEventHandlers-onclick: FAIL
/trusted-types/TrustedTypePolicyFactory-getPropertyType.tentative.html
    OBJECT.CODEBASE is maybe defined: FAIL
    OBJECT.codeBase is maybe defined: FAIL
    OBJECT.codebase is maybe defined: FAIL
    OBJECT[CODEBASE] is defined: FAIL
    OBJECT[codeBase] is defined: FAIL
    OBJECT[codebase] is defined: FAIL
    getAttributeType tests adapted from WICG/trusted-types polyfill: FAIL
    getPropertyType tests adapted from WICG/trusted-types polyfill: FAIL
    getTypeMapping tests adapted from WICG/trusted-types polyfill: FAIL
    oBjEcT.CODEBASE is maybe defined: FAIL
    oBjEcT.codeBase is maybe defined: FAIL
    oBjEcT.codebase is maybe defined: FAIL
    oBjEcT[CODEBASE] is defined: FAIL
    oBjEcT[codeBase] is defined: FAIL
    oBjEcT[codebase] is defined: FAIL
    object.CODEBASE is maybe defined: FAIL
    object.codeBase is maybe defined: FAIL
    object.codebase is maybe defined: FAIL
    object[CODEBASE] is defined: FAIL
    object[codeBase] is defined: FAIL
    object[codebase] is defined: FAIL
    sanity check TrustedTypes.getAttributeType.: FAIL
    sanity check TrustedTypes.getPropertyType for the HTML a element.: FAIL
    sanity check TrustedTypes.getTypeMapping: FAIL
/trusted-types/TrustedTypePolicyFactory-metadata.tentative.html
    TrustedTypePolicyFactory-metadata: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/71a9f2456d8f
[wpt PR 18334] - [Trusted Types] Implement Trusted Types metadata api., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/86386465c9b4
[wpt PR 18334] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.