[wpt-sync] Sync PR 22218 - [Trusted Types] Fix script handling for XML Documents.
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 22218 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22218
Details from upstream follow.
Daniel Vogelheim <vogelheim@chromium.org> wrote:
[Trusted Types] Fix script handling for XML Documents.
XMLDocumentParser::UpdateLeafTextNode calls CharacterData::appendData (rather
than CharacterData::ParserAppendData), which means this change is incorrectly
attributed to a user script. Additionally, CharacterData::DidModifyData now
passes UpdateSource correctly to the ChildrenChange event.Bug: 1060949
Change-Id: Ida8c93bc68f66da45221a8490b84b669898b084fReviewed-on: https://chromium-review.googlesource.com/2100928
WPT-Export-Revision: e7edaeaa2a509848cf025cca9f1fd763a763c4ef
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=055147646a9a5ffc2f4aacdfab84589f0371736a
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
PASS : 1
Chrome
TIMEOUT: 1
Links
Updated•4 years ago
|
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66de3172be9b [wpt PR 22218] - [Trusted Types] Fix script handling for XML Documents., a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•