Closed Bug 1691006 Opened 4 years ago Closed 2 months ago

[wpt-sync] Sync PR 27501 - HTML: Escape "<" and ">" in attribute values when serializing

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(2 files)

Sync web-platform-tests PR 27501 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/27501
Details from upstream follow.

b'Simon Pieters <zcorpan@gmail.com>' wrote:

HTML: Escape "<" and ">" in attribute values when serializing

See https://github.com/whatwg/html/pull/6362

cc @mozfreddyb @otherdaniel

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
See Also: → 1941347

Can we land this or maybe move it to a tentative file?

Flags: needinfo?(zcorpan)

I made a new PR with a tentative test: https://github.com/web-platform-tests/wpt/pull/51827

Flags: needinfo?(zcorpan)

We could also land this in our tree first and sync it to WPT.

Blocks: 1941347
See Also: 1941347
No longer blocks: 1941347
Depends on: 1941347

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests and 238 subtests

Status Summary

Firefox

OK : 2
PASS: 222
FAIL: 18

Chrome

OK : 2
PASS: 240

Safari

OK : 2
PASS: 232
FAIL: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /html/syntax/serializing-html-fragments/serializing.html [wpt.fyi]
    • innerHTML Void context node area: FAIL
    • innerHTML Void context node base: FAIL
    • innerHTML Void context node basefont: FAIL
    • innerHTML Void context node bgsound: FAIL
    • innerHTML Void context node br: FAIL
    • innerHTML Void context node col: FAIL
    • innerHTML Void context node embed: FAIL
    • innerHTML Void context node frame: FAIL
    • innerHTML Void context node hr: FAIL
    • innerHTML Void context node img: FAIL
    • innerHTML Void context node input: FAIL
    • innerHTML Void context node keygen: FAIL
    • innerHTML Void context node link: FAIL
    • innerHTML Void context node meta: FAIL
    • innerHTML Void context node param: FAIL
    • innerHTML Void context node source: FAIL
    • innerHTML Void context node track: FAIL
    • innerHTML Void context node wbr: FAIL

New Tests That Don't Pass

  • /html/syntax/serializing-html-fragments/serializing.html [wpt.fyi]
    • innerHTML Void context node area: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node base: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node basefont: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node bgsound: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node br: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node col: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node embed: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node frame: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node hr: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node img: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node input: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node keygen: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node link: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node meta: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node param: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node source: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node track: FAIL (Chrome: PASS, Safari: PASS)
    • innerHTML Void context node wbr: FAIL (Chrome: PASS, Safari: PASS)

Automatic update from web-platform-tests
HTML: Escape "<" and ">" in attribute values when serializing

See https://github.com/whatwg/html/pull/6362.

wpt-commits: 3fad71d22b6681a3430ff498add3ea8c31660401
wpt-pr: 27501

Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b534c633b2ea [wpt PR 27501] - HTML: Escape "<" and ">" in attribute values when serializing, https://hg.mozilla.org/integration/autoland/rev/f84835c2aa2a [wpt PR 27501] - Update wpt metadata,
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: