[wpt-sync] Sync PR 19992 - [Trusted Types] Obey TT in createHTMLDocument-create documents.
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 19992 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/19992
Details from upstream follow.
Daniel Vogelheim <vogelheim@chromium.org> wrote:
[Trusted Types] Obey TT in createHTMLDocument-create documents.
This will pass on the Trusted Type enforcement requirement set by the CSP
header, but will not actually instantiate a TrustedTypePolicyFactory. That
plugs the current hole; but might not be an acceptable long-term solution.Bug: 951536
Change-Id: I56d541d57184396ce1dacdac9236d9259189f621
Reviewed-on: https://chromium-review.googlesource.com/1886826
WPT-Export-Revision: 9a153cfcab5da15ea1745c8de74c4ce432a36285
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9ce398d60ba036ce50d923974bf562f595508979
Assignee | ||
Comment 2•5 years ago
|
||
GitHub CI Results
wpt.fyi PR Results Base Results
Ran 1 tests and 2 subtests
Firefox
OK : 1
FAIL: 2
Chrome
OK : 1
FAIL: 2
Safari
OK : 1
FAIL: 2
New tests that's don't pass
/trusted-types/trusted-types-createHTMLDocument.tentative.html
Trusted Types work in createHTMLDocument: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
Trusted Type instances can be used in createHTMLDocument: Firefox: FAIL, Chrome: FAIL, Safari: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a560dea4b5c8 [wpt PR 19992] - [Trusted Types] Obey TT in createHTMLDocument-created documents., a=testonly https://hg.mozilla.org/integration/autoland/rev/f7b464619671 [wpt PR 19992] - Update wpt metadata, a=testonly
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a560dea4b5c8
https://hg.mozilla.org/mozilla-central/rev/f7b464619671
Description
•