Closed Bug 2086935 Opened 1 month ago Closed 18 days ago

[wpt-sync] Sync PR 64132 - Close elements left open in WPTs and remove wrong closing tags

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fernando Fiori <ffiori@microsoft.com> wrote:

Close elements left open in WPTs and remove wrong closing tags

SVG shapes are not void elements, so \<rect>, \<path> and \<animate>
written without an end tag stay open until \</svg> closes them, which the
parser reports as a misplaced end tag. Self-close them instead. Likewise
close \<video> explicitly rather than leaving it to the enclosing \</div>,
drop the \</command> that the parser discards because \<command> is void,
and remove a leftover \</script> inside an inline script body.

Bug: 542686202
Change-Id: I1d95a0f9a95f77bc97dda8f00c672e5a8088e696
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8220910
Auto-Submit: Fernando Fiori \<ffiori@microsoft.com>
Reviewed-by: Brandon Walderman \<brwalder@microsoft.com>
Commit-Queue: Fernando Fiori \<ffiori@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1726228}

Component: web-platform-tests → SVG
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 789 tests

Status Summary

Firefox

OK : 7[GitHub] 529[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] 530[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 : 84[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 167[GitHub] 1684[Gecko-windows11-32-25h2-opt] 1685[Gecko-windows11-32-25h2-debug] 1828[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 1830[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 1832[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]
CRASH : 1[Gecko-android-em-14-x86_64-lite-opt-geckoview] 2[Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt]
FAIL : 48[Gecko-windows11-32-25h2-debug] 49[Gecko-windows11-32-25h2-opt] 69[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] 73[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 75[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1[Gecko-android-em-14-x86_64-lite-opt-geckoview] 2[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 7
PASS : 167

Safari

OK : 7
PASS : 167

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Crashes

  • /svg/animations/end-of-time-001-crash.html [wpt.fyi]: CRASH [Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt], SKIP [Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-opt], TIMEOUT [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172
  • /svg/animations/end-of-time-002-crash.html [wpt.fyi]: CRASH [Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt], SKIP [Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-opt], TIMEOUT [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] linked bug:Bug 1984172

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.