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)
Core
DOM: Security
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
| Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → DOM: Security
Product: Testing → Core
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream error][domsecurity-backlog]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error][domsecurity-backlog] → [wptsync downstream error]
| Assignee | ||
Updated•7 years ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=feb7152f220b466e4e34bc0498392434d6fadf83
| Assignee | ||
Comment 6•7 years ago
|
||
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
Comment 8•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3849153c0402
https://hg.mozilla.org/mozilla-central/rev/276974078717
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•