Closed
Bug 1490443
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 12952 - Added mechanisms for default policy
Categories
(Core :: DOM: Security, enhancement, P4)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 12952 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12952 Details from upstream follow. Orsi Batiz <orsibatiz@google.com> wrote: > Added mechanisms for default policy > > With a default policy defined, assignments implicitly call createXXX on the default policy > Added ScriptState* to the accessors visible from JavaScript > Tests were updated to check string assignment when trusted-types are needed before and after the default policy is defined > > Bug: 739170 > Change-Id: I9bb841d69f324b841602d41abd71f753a9858af8 > > Reviewed-on: https://chromium-review.googlesource.com/1207530 > WPT-Export-Revision: d7e49570bbf43fad04649dfdc900e57d563c128c
Assignee | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=2499831e08a6506b4a9cdc0877e89013ae51f3a9
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4af1a0351af65c48a4801c8e33c775bc1af0cb9
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 3•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=efbdfb923a4ed1dd875f74feb4c8a2312ae512ef
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d908d8dd2dc749ae9e4a6bfc50131cac9016c94e
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 5•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=02e628e413cf356ef4799d1105e6ff90b102924a
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 6•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=148b41fa1a41c220910a9f2fbc2615689ded3b10
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 7•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b5d6c88940323bf85d7edc57d966a885f7b0b7ed
Assignee | ||
Comment 8•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=975e7512c203f528b3e379ae92804835edf6d548
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 9•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=9cfcd2d1d01b42b2c7c2cfee42671802b1c8e1fc
Assignee | ||
Comment 10•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=0fffda911cb9c61da352d4a96aa03c09ac92c08f
Assignee | ||
Comment 11•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=0dc2c7c977a6b35c864a4ebdad0d9940d0a1803b
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 12•6 years ago
|
||
PR 12952 applied with additional changes from upstream: d646c3ce22d218a53c365c9c8cd47315175dc6c9
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 13•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=a52b1abd21ae6644c9c2e1c25ee55447ea87ad47
Assignee | ||
Comment 14•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=52360092c6c7d0503b3cdb5d35aed590e6de31ab
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 15•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=2c58e3b2e11cc104293041622800dddc0868478c
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 16•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ff40af11bd1c6aef7ad2b4ac86be06f081b1124c
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream]
Assignee | ||
Comment 17•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=beda00a3dcd9974a5f515326d15afbec8f27bc56
Assignee | ||
Comment 18•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=b1814e90105091d1ce46302a378e9395c06b526b
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 19•6 years ago
|
||
PR 12952 applied with additional changes from upstream: d9b6e84708d8ca0870b65656e30cf595969db524
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream error][domsecurity-backlog]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream error][domsecurity-backlog] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream][domsecurity-backlog] → [wptsync downstream error][domsecurity-backlog]
Assignee | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream error][domsecurity-backlog] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 20•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=cba0edb9834a60779d5e6a122795346aba292cc7
Assignee | ||
Comment 21•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ef5a186062f03e8bb14b56651a136374694be729
Assignee | ||
Comment 22•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=7d5c233594968f928d3dee05eb9b27efa7fee113
Assignee | ||
Comment 23•6 years ago
|
||
Ran 35 tests and 183 subtests OK : 29 PASS : 9 FAIL : 174 TIMEOUT: 3 ERROR : 3 Existing tests that now have a worse result (e.g. they used to PASS and now FAIL): /trusted-types/block-string-assignment-to-Element-setAttribute.tentative.html: ERROR /trusted-types/block-string-assignment-to-HTMLElement-generic.tentative.html: ERROR /trusted-types/block-string-assignment-to-Window-open.tentative.html: ERROR New tests that have failures or other problems: /trusted-types/TrustedTypePolicyFactory-createPolicy-defaultTests.tentative.html default policy has to be exposed: FAIL /trusted-types/Window-TrustedTypes.tentative.html factory construction fails: FAIL /trusted-types/block-string-assignment-to-DOMParser-parseFromString.tentative.html 'document.innerText = string' assigned via default policy (successful HTML transformation).: FAIL /trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html `setTimeout(string)`, `setInterval(string)` via default policy (successful Script transformation).: FAIL /trusted-types/block-string-assignment-to-Document-write.tentative.html document.write with html assigned via policy (successful URL transformation).: FAIL /trusted-types/block-string-assignment-to-Element-insertAdjacentHTML.tentative.html `insertAdjacentHTML(null)` assigned via default policy does not throw.: FAIL `insertAdjacentHTML(string)` assigned via default policy (successful HTML transformation).: FAIL /trusted-types/block-string-assignment-to-Element-outerHTML.tentative.html `outerHTML = null` assigned via default policy does not throw: FAIL `outerHTML = string` assigned via default policy (successful HTML transformation).: FAIL /trusted-types/block-string-assignment-to-Range-createContextualFragment.tentative.html `range.createContextualFragment(string)` assigned via default policy (successful HTML transformation).: FAIL
Assignee | ||
Comment 24•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=60985c2bce07bd341834b9d5ccc9484ce630f2cb
Comment 25•6 years ago
|
||
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/2dce7619208c [wpt PR 12952] - Added mechanisms for default policy, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/cbf9026e31e5 [wpt PR 12952] - Update wpt metadata, a=testonly
Comment 26•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2dce7619208c https://hg.mozilla.org/mozilla-central/rev/cbf9026e31e5
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•