Closed Bug 1488171 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 12798 - String_list_directive created

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

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

Sync web-platform-tests PR 12798 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12798 Details from upstream follow. Orsi Batiz <orsibatiz@google.com> wrote: > String_list_directive created > > Created a primitive version of function AllowTrustedTypePolicy > "require-trusted-types" changed into "trusted-types" and takes a list of policy names > createPolicy updated to throw when policy name is not allowed > Tests added for policy creation attempt when policy name is on the whitelist and when it isn't > Tests added fot policy creation attempt with no whitelist given > > STILL TO DO: > Poke at existing tests to change "require-trusted-types" into "trusted-types policy name list comes here" > (Optional) Add "trusted-types" with no list in existing tests which don't have it > Implement the version of AllowTrustedTypePolicy with reporting_policy and ShouldByPassCSP > > Bug: 739170 > Change-Id: Ida0188cf38f8edba8b966b2f708b7a7919d08b29 > > Reviewed-on: https://chromium-review.googlesource.com/1186325 > WPT-Export-Revision: cc004c1d7e4a857e675d755ec32a68e7ac24eef7
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream error][domsecurity-backlog]
Whiteboard: [wptsync downstream error][domsecurity-backlog] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Ran 13 tests and 59 subtests OK : 10 PASS : 1 FAIL : 58 TIMEOUT: 3 New tests that have failures or other problems: /trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.tentative.html No name list given - policy creation works: FAIL /trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests.tentative.html Another whitelisted policy creation works: FAIL Whitelisted policy creation works: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3849153c0402 [wpt PR 12798] - String_list_directive created, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/276974078717 [wpt PR 12798] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.