0

[DOM / Trusted Types] Fix order of Trusted Types checks.

Move the Trusted Types check -- which can modify the DOM -- *before* the
structure checks, to prevent inconsistencies from concurrent manipulation of the same attribute.

This fixes a number of WPT subtests in trusted-types/modify-attributes-in-callback.html and trusted-types/set-attributes-mutations-in-callback.tentative.html

Spec: https://github.com/whatwg/dom/pull/1268
Bug: 394760815, 330516530
Change-Id: I9a394a75348598cc68e5b073d8769c826cd0605a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6243963
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1431595}
This commit is contained in:
Daniel Vogelheim
2025-03-12 10:21:01 -07:00
committed by Chromium LUCI CQ
parent a9be8d25f0
commit 0d6a1aff70
6 changed files with 9 additions and 797 deletions

@ -11226,6 +11226,14 @@ ALWAYS_INLINE void Element::SetAttributeInternal(
Attr* Element::setAttributeNode(Attr* attr_node,
ExceptionState& exception_state) {
AtomicString value(TrustedTypesCheckFor(
ExpectedTrustedTypeForAttribute(attr_node->GetQualifiedName()),
attr_node->value(), GetExecutionContext(), "Element", "setAttributeNode",
exception_state));
if (exception_state.HadException()) {
return nullptr;
}
Attr* old_attr_node = AttrIfExists(attr_node->GetQualifiedName());
if (old_attr_node == attr_node) {
return attr_node; // This Attr is already attached to the element.
@ -11253,14 +11261,6 @@ Attr* Element::setAttributeNode(Attr* attr_node,
SynchronizeAllAttributes();
const UniqueElementData& element_data = EnsureUniqueElementData();
AtomicString value(TrustedTypesCheckFor(
ExpectedTrustedTypeForAttribute(attr_node->GetQualifiedName()),
attr_node->value(), GetExecutionContext(), "Element", "setAttributeNode",
exception_state));
if (exception_state.HadException()) {
return nullptr;
}
AttributeCollection attributes = element_data.Attributes();
wtf_size_t index = attributes.FindIndex(attr_node->GetQualifiedName());
AtomicString local_name;

@ -2646,9 +2646,6 @@ crbug.com/398049418 [ Win11 ] external/wpt/custom-elements/revamped-scoped-regis
crbug.com/397500917 [ Mac13 ] external/wpt/html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html?5-6 [ Crash ]
[ Mac12-arm64 ] external/wpt/notifications/tag.https.html [ Crash Failure ]
[ Mac11-arm64 ] external/wpt/notifications/tag.https.html [ Crash Failure ]
crbug.com/397523920 [ Win10.20h2 ] external/wpt/trusted-types/modify-attributes-in-callback.html [ Crash ]
crbug.com/397523920 [ Mac14 ] external/wpt/trusted-types/modify-attributes-in-callback.html [ Crash ]
crbug.com/397523920 [ Linux ] external/wpt/trusted-types/modify-attributes-in-callback.html [ Crash ]
crbug.com/397483597 [ Mac15-arm64 ] external/wpt/webrtc-encoded-transform/tentative/RTCEncodedFrame-timestamps.html [ Timeout ]
crbug.com/397483597 [ Mac15 ] external/wpt/webrtc-encoded-transform/tentative/RTCEncodedFrame-timestamps.html [ Timeout ]
crbug.com/397483598 virtual/threaded/external/wpt/css/css-view-transitions/window-resize-aborts-transition-before-ready.html [ Timeout ]
@ -2658,7 +2655,6 @@ crbug.com/397483598 virtual/view-transition-mpa-serialization/external/wpt/css/c
crbug.com/397483598 virtual/view-transition-wide-gamut/external/wpt/css/css-view-transitions/window-resize-aborts-transition-before-ready.html [ Timeout ]
crbug.com/397483598 virtual/view-transition-wide-gamut/external/wpt/css/css-view-transitions/window-resize-aborts-transition.html [ Timeout ]
crbug.com/397150490 external/wpt/speech-api/SpeechSynthesis-speak-without-activation-fails.tentative.html [ Failure Timeout ]
crbug.com/396958489 external/wpt/trusted-types/set-attributes-mutations-in-callback.tentative.html [ Crash Failure Timeout ]
crbug.com/396813145 virtual/threaded/external/wpt/css/css-view-transitions/animation-name-ua-prefix.html [ Failure ]
crbug.com/396813145 virtual/view-transition-mpa-serialization/external/wpt/css/css-view-transitions/animation-name-ua-prefix.html [ Failure ]
crbug.com/396813145 virtual/view-transition-wide-gamut/external/wpt/css/css-view-transitions/animation-name-ua-prefix.html [ Failure ]

@ -9,9 +9,5 @@ This is a testharness.js-based test.
assert_equals: expected "HTMLIFrameElement srcdoc" but got "Element setAttributeNS"
[FAIL] Ensure setAttribute results in right attribute value.
assert_equals: expected 2 but got 3
[FAIL] Ensure setAttributeNode throws InUseAttributeError when callback assigns attributes.
assert_true: DOMException exception reported expected true got false
[FAIL] Ensure setAttributeNodeNS throws InUseAttributeError when callback assigns attributes.
assert_true: DOMException exception reported expected true got false
Harness: the test ran to completion.

@ -1,61 +1,5 @@
This is a testharness.js-based test.
Found 132 FAIL, 0 TIMEOUT, 0 NOTRUN.
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
Found 48 FAIL, 0 TIMEOUT, 0 NOTRUN.
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete attribute)
@ -110,118 +54,6 @@ Found 132 FAIL, 0 TIMEOUT, 0 NOTRUN.
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)

@ -1,306 +0,0 @@
This is a testharness.js-based test.
Found 151 FAIL, 0 TIMEOUT, 0 NOTRUN.
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
Harness: the test ran to completion.

@ -1,306 +0,0 @@
This is a testharness.js-based test.
Found 151 FAIL, 0 TIMEOUT, 0 NOTRUN.
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete other attribute before)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (delete attribute)
assert_equals: expected 2 but got 3
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttribute works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected 1 but got 2
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (modify attribute)
assert_equals: expected Node object of unknown type but got Node object of unknown type
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNode works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Element.setAttributeNodeNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItem works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] NamedNodeMap.setNamedItemNS works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_throws_dom: function "_ => {\n returnValue = setterData.runSetter(element, testData.attrNS,\n testData.attrName,\n input_string, testData.type);\n }" did not throw
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Attr.value works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.nodeValue works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=DIV, attrName=onclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=g, attrName=ondblclick (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1998/Math/MathML, element=mrow, attrName=onmousedown (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=https://example.com/namespace, element=foo, attrName=onmouseup (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=IFRAME, attrName=srcdoc (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/1999/xhtml, element=SCRIPT, attrName=src (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
[FAIL] Node.textContent works for elementNS=http://www.w3.org/2000/svg, element=script, attrNS=http://www.w3.org/1999/xlink, attrName=href (move attribute node to another element)
assert_equals: expected 0 but got 1
Harness: the test ran to completion.