[wpt-sync] Sync PR 65108 - Align ProcessingInstruction attribute value escaping with spec
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 65108 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/65108
Details from upstream follow.
Philip Jägenstedt <foolip@chromium.org> wrote:
Align ProcessingInstruction attribute value escaping with spec
Previously, we incorrectly used the escaping for HTML or XML attribute
values depending on the document.Bug: 431374376
Change-Id: Id88734a4e2ee0091f18193d11873ccdd05f87be4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8804416
Commit-Queue: Philip Jägenstedt \<foolip@chromium.org>
Reviewed-by: Noam Rosenthal \<nrosenthal@google.com>
Auto-Submit: Philip Jägenstedt \<foolip@chromium.org>
Commit-Queue: Noam Rosenthal \<nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1743113}
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=123178
| Assignee | ||
Comment 2•9 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 160 subtests
Status Summary
Firefox
OK : 1
PASS: 3
FAIL: 157
Chrome
OK : 1
PASS: 152
FAIL: 8
Safari
OK : 1
FAIL: 160
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /dom/nodes/processing-instruction-attributes.html [wpt.fyi]
- Processing instruction in main parser:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute parsing rejects unquoted attributes from html-dom:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute mutation from html-dom:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute parsing allows _ in attribute names from html-dom:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction toggleAttribute from html-dom:
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "&" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: """ (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "<" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: ">" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "\t" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "\n" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "\r" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: " " (source: "html-dom"):
FAIL(Chrome:FAIL, Safari:FAIL) - check attribute value: "=" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "'" (source: "html-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: = (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: a= (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: =x (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: b> (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: > (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: >x (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: /x/ (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: / (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x/ (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x
(source: html-dom):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name:
x (source: html-dom):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x
(source: html-dom):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name:
x (source: html-dom):FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: $ (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: _ (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: $foo (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: _bar (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: a$b (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: a_b (source: html-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: html-dom): ABC and abc:
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: html-dom): abC and abc:
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: html-dom): x123A and x123a:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attributes with xml-stylesheet from html-dom:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute parsing rejects unquoted attributes from html-parser:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute mutation from html-parser:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute parsing allows _ in attribute names from html-parser:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction toggleAttribute from html-parser:
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "&" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: """ (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "<" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: ">" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "\t" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "\n" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "\r" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: " " (source: "html-parser"):
FAIL(Chrome:FAIL, Safari:FAIL) - check attribute value: "=" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "'" (source: "html-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: = (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: a= (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: =x (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: b> (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: > (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: >x (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: /x/ (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: / (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x/ (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x
(source: html-parser):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name:
x (source: html-parser):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x
(source: html-parser):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name:
x (source: html-parser):FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: $ (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: _ (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: $foo (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: _bar (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: a$b (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: a_b (source: html-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: html-parser): ABC and abc:
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: html-parser): abC and abc:
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: html-parser): x123A and x123a:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute parsing rejects unquoted attributes from xml-dom:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute mutation from xml-dom:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute parsing allows _ in attribute names from xml-dom:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction toggleAttribute from xml-dom:
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "" (source: "xml-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "&" (source: "xml-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: """ (source: "xml-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "<" (source: "xml-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: ">" (source: "xml-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "\t" (source: "xml-dom"):
FAIL(Chrome:FAIL, Safari:FAIL) - check attribute value: "\n" (source: "xml-dom"):
FAIL(Chrome:FAIL, Safari:FAIL) - check attribute value: "\r" (source: "xml-dom"):
FAIL(Chrome:FAIL, Safari:FAIL) - check attribute value: " " (source: "xml-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "=" (source: "xml-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "'" (source: "xml-dom"):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: = (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: a= (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: =x (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: b> (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: > (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: >x (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: /x/ (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: / (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x/ (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x
(source: xml-dom):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name:
x (source: xml-dom):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x
(source: xml-dom):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name:
x (source: xml-dom):FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: $ (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: _ (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: $foo (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: _bar (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: a$b (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: a_b (source: xml-dom):
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: xml-dom): ABC and abc:
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: xml-dom): abC and abc:
FAIL(Chrome:PASS, Safari:FAIL) - Distinct attribute name (source: xml-dom): x123A and x123a:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attributes with xml-stylesheet from xml-dom:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute parsing rejects unquoted attributes from xml-parser:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute mutation from xml-parser:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attribute parsing allows _ in attribute names from xml-parser:
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction toggleAttribute from xml-parser:
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "" (source: "xml-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "&" (source: "xml-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: """ (source: "xml-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "<" (source: "xml-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: ">" (source: "xml-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "\t" (source: "xml-parser"):
FAIL(Chrome:FAIL, Safari:FAIL) - check attribute value: "\n" (source: "xml-parser"):
FAIL(Chrome:FAIL, Safari:FAIL) - check attribute value: "\r" (source: "xml-parser"):
FAIL(Chrome:FAIL, Safari:FAIL) - check attribute value: " " (source: "xml-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "=" (source: "xml-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - check attribute value: "'" (source: "xml-parser"):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: = (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: a= (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: =x (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: b> (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: > (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: >x (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: /x/ (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: / (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x/ (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x
(source: xml-parser):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name:
x (source: xml-parser):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name: x
(source: xml-parser):FAIL(Chrome:PASS, Safari:FAIL) - Invalid attribute name:
x (source: xml-parser):FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: $ (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: _ (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: $foo (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: _bar (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: a$b (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Valid attribute name: a_b (source: xml-parser):
FAIL(Chrome:PASS, Safari:FAIL) - Processing instruction attributes with xml-stylesheet from xml-parser:
FAIL(Chrome:PASS, Safari:FAIL)
- Processing instruction in main parser:
Comment 4•8 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/a3ba95b3651f
https://hg.mozilla.org/mozilla-central/rev/3456b1f05cc1
Description
•