Closed Bug 1494969 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 13260 - Trusted Types: Implement "trusted-types *" and reserved names.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

Daniel Vogelheim <vogelheim@chromium.org> wrote:
>  Trusted Types: Implement "trusted-types *" and reserved names.
>  
>  - An empty trusted-types declaration means no policies are allowed.
>  - A declaration of only "*" means all policies are allowed.
>  - Quoted strings are considered reserved (and thus cannot be policy names)
>  
>  This aligns the implementation close with the trusted types polyfill.
>  
>  Bug: 739170
>  Change-Id: If9fc66e80d60a81ec4228da35ae8c8820ebaa9b5
>  Reviewed-on: https://chromium-review.googlesource.com/1249269
>  WPT-Export-Revision: fc8b8eb3c9c80687ad7e0875783fb3188b68ae05
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
PR 13260 applied with additional changes from upstream: 37c7236e23771f5bf7c5ad249021d8d669e0dd92, 63641fb5fe9942efd3eb81a5c831ab7f247e40c2
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
QA Contact: ckerschb
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
QA Contact: ckerschb
Ran 15 tests and 71 subtests
OK     : 12
PASS   : 3
FAIL   : 68
TIMEOUT: 3

New tests that have failures or other problems:
/trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.html
    Wildcard given - policy creation works: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a476ba8cea70
[wpt PR 13260] - Trusted Types: Implement "trusted-types *" and reserved names., a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/97b48667434b
[wpt PR 13260] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/a476ba8cea70
https://hg.mozilla.org/mozilla-central/rev/97b48667434b
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.