[wpt-sync] Sync PR 63263 - HTML parser: test that U+FFFD sets frameset-ok to "not ok"
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63263 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63263
Details from upstream follow.
Gérald Barré <git@meziantou.net> wrote:
HTML parser: test that U+FFFD sets frameset-ok to "not ok"
Only U+0000 is ignored in the "in body" insertion mode; any other character token that is not whitespace, including U+FFFD, sets the frameset-ok flag to "not ok", so a later
<frameset>start tag is ignored. The existing tests only cover NULs (plain-text-unsafe.dat). This adds:
tests19.dat: U+FFFD before<frameset>, as a literal character, as a character reference (�), and in foreign content (<svg>�</svg>); the frameset start tag is ignored;plain-text-unsafe.dat: a NUL in foreign content (<svg>U+0000</svg>), which is replaced by U+FFFD without changing the frameset-ok flag, so the frameset replaces the body. This keeps a fix of the first cases from changing the NUL handling.Results of
html5lib_{url,write,write_single}.htmlwith Playwright builds (Chromium 153.0.8010.12, Firefox 155.0, WebKit 26.6):
Test Chromium Firefox WebKit tests19.dat, 3 new testsFAIL PASS FAIL plain-text-unsafe.dat, 1 new testPASS PASS PASS
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
| Assignee | ||
Comment 2•1 month ago
|
||
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
| Assignee | ||
Comment 4•1 month ago
|
||
Test result changes from PR not available.
Description
•