Closed Bug 1528029 Opened 10 months ago Closed 9 months ago

[wpt-sync] Sync PR 15376 - Remove a special handling for XLink namespace in XMLSerializer

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

Remove a special handling for XLink namespace in XMLSerializer

The new behavior matches to the standard and Firefox.

Bug: 927626
Change-Id: Ifc6687992c10fbca13faaaeb4a56e59f5469f594
Reviewed-on: https://chromium-review.googlesource.com/1469843
WPT-Export-Revision: 3727bc3e196df6df980b5588773254eb0fc3d7c2

PR 15376 applied with additional changes from upstream: d2c49d8610185244a31e04ef32aae70da0dd35f7, c815526cd9d6fe1039b3736b06b05c348cdd64d8, 265330b7d26194cb60157a18ac399127d21f6b99, 2647e1e8f6995d12f44edbf0b4fce752e5cb7ec5
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 14 subtests
OK     : 1
PASS   : 6
FAIL   : 8

New tests that have failures or other problems:
/domparsing/XMLSerializer-serializeToString.html
    Check if "ns1" is generated even if the element already has xmlns:ns1.: FAIL
    Check if an attribute with namespace and no prefix is serialized with the nearest-declared prefix even if the prefix is assigned to another namespace.: FAIL
    Check if attribute serialization takes into account of following xmlns:* attributes: FAIL
    Check if attribute serialization takes into account of the same prefix declared in an ancestor element: FAIL
    Check if generated prefixes match to "ns${index}".: FAIL
    Check if no special handling for XLink namespace unlike HTML serializer.: FAIL
    Check if the prefix of an attribute is NOT preserved in a case where neither its prefix nor its namespace URI is not already used.: FAIL
    Check if the prefix of an attribute is replaced with a generated one in a case where the prefix is already mapped to a different namespace URI.: FAIL
Component: DOM → DOM: Core & HTML
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/629c2a5b9013
[wpt PR 15376] - Remove a special handling for XLink namespace in XMLSerializer, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9af6b8db40bd
[wpt PR 15376] - Remove a special handling for XLink namespace in XMLSerializer, a=testonly
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.