[wpt-sync] Sync PR 63592 - [Sanitizer] Sanitize is= attribute on document element.
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
113.16 KB,
text/plain
|
Details |
Sync web-platform-tests PR 63592 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63592
Details from upstream follow.
Daniel Vogelheim <vogelheim@chromium.org> wrote:
[Sanitizer] Sanitize is= attribute on document element.
In Document.parseHTML (and Document.parseHTMLUnsafe) treats the document
element seperately and has a seperate code path for it
(HTMLContrsuctionSite::InsertHMLStartTagInBody). This code path was
overlooked in crrev.com/c/7883146 and now also checks whether the is=
attribute is allowed on this element.Fixed: 571722742
Change-Id: If99538f13a6b741f28c50db1b0001d8cf147c342
Reviewed-on: https://chromium-review.googlesource.com/8559025
WPT-Export-Revision: b48a4b89cd65d11cdf910b4bcc3a92f414e18346
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=112119
| Assignee | ||
Comment 2•26 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 44 tests and 141 subtests
Status Summary
Firefox
OK : 1[GitHub] 44[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 20[GitHub] 2431[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1045
Chrome
OK : 1
PASS: 20
Safari
OK : 1
FAIL: 20
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•19 days ago
|
||
| bugherder | ||
Description
•