Closed Bug 2071932 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62676 - Add WPT test for xmlns="" attribute retention

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Dominik Röttsches <drott@chromium.org> wrote:

Add WPT test for xmlns="" attribute retention

Verify that the XML parser retains xmlns="" (namespace undeclaration)
attributes even when no default namespace was in scope at that point
in the document, including when only prefixed namespaces are in scope
or on the root element.

Add expected failure baselines for the XMLRustForNonXslt parser where
these attributes are currently dropped.

This test currently fails with the Rust XML parser, which is the
core of the issue mentioned below. Subsequent changes will fix
this behavior and make the test pass.

Bug: 559815538
Change-Id: I32598baa0632506fd30b70b0faf9ef012d2e8768

Reviewed-on: https://chromium-review.googlesource.com/8397770
WPT-Export-Revision: 76704fde05203737e367a669a5f32fa043b3be80

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 21 tests

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: 4[GitHub] 9[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 234[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 236[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]

Chrome

OK : 1
PASS: 1
FAIL: 3

Safari

OK : 1
PASS: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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