[wpt-sync] Sync PR 62796 - Accept BOM at start of parsing input in Rust XML parser
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62796 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62796
Details from upstream follow.
Dominik Röttsches <drott@chromium.org> wrote:
Accept BOM at start of parsing input in Rust XML parser
Fix BOM handling in Rust XML parser by stripping it from the
beginning of the input string.Add a Web Platform Test covering DOMParser parsing of XML documents
starting with a Byte Order Mark (U+FEFF). Under the experimental Rust
XML parser (XmlRustForNonXslt), leading BOM characters currently fail
parsing as unexpected characters outside the root element.Fixed: 561655168
Change-Id: I519666eca927d44d76827996e29db99ae9e0005fReviewed-on: https://chromium-review.googlesource.com/8425943
WPT-Export-Revision: 34d71ab3bb12fc578327c05512fd48a8ba9ddb1f
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=94342
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 21 tests and 5 subtests
Status Summary
Firefox
OK : 1[GitHub] 9[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 : 5[GitHub] 7[Gecko-linux2204-64-wayland-debug] 9[Gecko-linux2204-64-wayland-opt] 235[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 237[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 7[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 8[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2
Chrome
OK : 1
FAIL : 5
Safari
OK : 1
PASS : 3
FAIL : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /xml/xslt/encoding-single-chunk.html [wpt.fyi]:
FAIL - /xml/xml-doc-innerHTML-crash.html [wpt.fyi]:
PASS[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-linux2204-64-wayland-opt,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],TIMEOUT[Gecko-linux2204-64-wayland-debug] - /xml/xslt/invalid-output-encoding-crash.html [wpt.fyi]:
PASS[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-linux2204-64-wayland-opt,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],TIMEOUT[Gecko-linux2204-64-wayland-debug] - /xml/xml-prolog-accepted-versions.html [wpt.fyi]
- XML 1.1 is accepted:
FAIL - XML 1.2 is accepted:
FAIL - XML 1.7 is accepted:
FAIL - XML 1.1075 is accepted:
FAIL - XML 1.000 is accepted:
FAIL
- XML 1.1 is accepted:
- /xml/xslt/functions.tentative.window.html [wpt.fyi]
- unparsed-entity-uri:
FAIL
- unparsed-entity-uri:
- /xml/xslt/fetch/xslt.https.sub.html [wpt.fyi]
- undefined: sec-fetch-mode:
FAIL
- undefined: sec-fetch-mode:
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/364a494e26b3
https://hg.mozilla.org/mozilla-central/rev/daf229eca9e2
Description
•