Index: third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Element-classlist-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Element-classlist-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Element-classlist-expected.txt |
index c7760753c8311640774c4c5176cb2161e56e10b2..b15d102004b23e17467bd730c06a1400c21f0b71 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Element-classlist-expected.txt |
+++ b/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/Element-classlist-expected.txt |
@@ -1,5 +1,5 @@ |
This is a testharness.js-based test. |
-Found 1135 tests; 805 PASS, 330 FAIL, 0 TIMEOUT, 0 NOTRUN. |
+Found 1135 tests; 885 PASS, 250 FAIL, 0 TIMEOUT, 0 NOTRUN. |
PASS Assigning to classList (HTML node) |
PASS .supports() must throw TypeError (HTML node) |
PASS classList.length when removed (HTML node) |
@@ -8,21 +8,21 @@ PASS classList.length when set to " \t \f" (HTML node) |
PASS classList.length when set to "a" (HTML node) |
PASS classList.length when set to "a A" (HTML node) |
PASS classList.length when set to "\r\na\t\f" (HTML node) |
-FAIL classList.length when set to "a a" (HTML node) assert_equals: expected 1 but got 2 |
-FAIL classList.length when set to "a a a a a a" (HTML node) assert_equals: expected 1 but got 6 |
-FAIL classList.length when set to "a a b b" (HTML node) assert_equals: expected 2 but got 4 |
+PASS classList.length when set to "a a" (HTML node) |
+PASS classList.length when set to "a a a a a a" (HTML node) |
+PASS classList.length when set to "a a b b" (HTML node) |
PASS classList.length when set to "a A B b" (HTML node) |
-FAIL classList.length when set to "a b c c b a a b c c" (HTML node) assert_equals: expected 3 but got 10 |
-FAIL classList.length when set to " a a b" (HTML node) assert_equals: expected 2 but got 3 |
+PASS classList.length when set to "a b c c b a a b c c" (HTML node) |
+PASS classList.length when set to " a a b" (HTML node) |
PASS classList.length when set to "a\tb\nc\fd\re f" (HTML node) |
PASS classList.toString() when removed (HTML node) |
PASS classList.toString() when set to "foo" (HTML node) |
PASS classList.toString() when set to " a a b" (HTML node) |
PASS classList.item() when set to null (HTML node) |
PASS classList.item() when set to "a" (HTML node) |
-FAIL classList.item() when set to "aa AA aa" (HTML node) assert_equals: classList.item(2) expected (object) null but got (string) "aa" |
+PASS classList.item() when set to "aa AA aa" (HTML node) |
PASS classList.item() when set to "a b" (HTML node) |
-FAIL classList.item() when set to " a a b" (HTML node) assert_equals: classList.item(1) expected "b" but got "a" |
+PASS classList.item() when set to " a a b" (HTML node) |
PASS classList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) |
PASS classList.contains("a") when set to null (HTML node) |
PASS classList.contains("") when set to null (HTML node) |
@@ -81,7 +81,7 @@ PASS classList.add("a", "aa ") with attribute value null (HTML node) |
PASS classList.add("a") with attribute value "a" (HTML node) |
PASS classList.add("AA") with attribute value "aa" (HTML node) |
PASS classList.add("a") with attribute value "a b c" (HTML node) |
-FAIL classList.add("a") with attribute value "a a a b" (HTML node) assert_equals: wrong class after modification expected "a b" but got "a a a b" |
+PASS classList.add("a") with attribute value "a a a b" (HTML node) |
PASS classList.add("a") with attribute value null (HTML node) |
PASS classList.add("a") with attribute value "" (HTML node) |
PASS classList.add("a") with attribute value " " (HTML node) |
@@ -89,13 +89,13 @@ PASS classList.add("a") with attribute value " \f" (HTML node) |
PASS classList.add("b") with attribute value "a" (HTML node) |
PASS classList.add("d") with attribute value "a b c" (HTML node) |
PASS classList.add("d") with attribute value "a b c " (HTML node) |
-FAIL classList.add("c") with attribute value " a a b" (HTML node) assert_equals: wrong class after modification expected "a b c" but got "a a b c" |
-FAIL classList.add("a") with attribute value " a a b" (HTML node) assert_equals: wrong class after modification expected "a b" but got "a a b" |
+PASS classList.add("c") with attribute value " a a b" (HTML node) |
+PASS classList.add("a") with attribute value " a a b" (HTML node) |
PASS classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) |
PASS classList.add("d", "e") with attribute value "a b c " (HTML node) |
PASS classList.add("a", "a") with attribute value "a b c " (HTML node) |
PASS classList.add("d", "d") with attribute value "a b c " (HTML node) |
-FAIL classList.add() with attribute value "a b c a " (HTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c a" |
+PASS classList.add() with attribute value "a b c a " (HTML node) |
PASS classList.add("a", "b") with attribute value null (HTML node) |
PASS classList.add("a", "b") with attribute value "" (HTML node) |
PASS classList.add(null) with attribute value null (HTML node) |
@@ -131,7 +131,7 @@ PASS classList.remove("c") with attribute value "a b c" (HTML node) |
PASS classList.remove("c") with attribute value " a b c " (HTML node) |
PASS classList.remove("c") with attribute value "a b c c c" (HTML node) |
PASS classList.remove("a") with attribute value "a b a c a d a" (HTML node) |
-FAIL classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (HTML node) assert_equals: wrong class after modification expected "BB aa CC dd" but got "BB aa CC dd aa" |
+PASS classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (HTML node) |
PASS classList.remove("a") with attribute value "\ra\na\ta\f" (HTML node) |
PASS classList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) |
PASS classList.remove("d", "e") with attribute value "a b c " (HTML node) |
@@ -142,7 +142,7 @@ PASS classList.remove("d", "d") with attribute value "a b c " (HTML node) |
PASS classList.remove() with attribute value "a b c " (HTML node) |
PASS classList.remove("a", "b") with attribute value null (HTML node) |
PASS classList.remove("a", "b") with attribute value "" (HTML node) |
-FAIL classList.remove() with attribute value "a a" (HTML node) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.remove() with attribute value "a a" (HTML node) |
PASS classList.remove(null) with attribute value "null" (HTML node) |
PASS classList.remove(undefined) with attribute value "undefined" (HTML node) |
PASS classList.toggle("") with attribute value null (HTML node) |
@@ -154,15 +154,15 @@ PASS classList.toggle("a") with attribute value " \f" (HTML node) |
PASS classList.toggle("b") with attribute value "a" (HTML node) |
PASS classList.toggle("A") with attribute value "a" (HTML node) |
PASS classList.toggle("d") with attribute value "a b c" (HTML node) |
-FAIL classList.toggle("d") with attribute value " a a b" (HTML node) assert_equals: wrong class after modification expected "a b d" but got "a a b d" |
+PASS classList.toggle("d") with attribute value " a a b" (HTML node) |
PASS classList.toggle("a") with attribute value "a" (HTML node) |
PASS classList.toggle("a") with attribute value " a a a " (HTML node) |
-FAIL classList.toggle("a") with attribute value " A A A " (HTML node) assert_equals: wrong class after modification expected "A a" but got "A A A a" |
+PASS classList.toggle("a") with attribute value " A A A " (HTML node) |
PASS classList.toggle("b") with attribute value " a b c " (HTML node) |
PASS classList.toggle("b") with attribute value " a b c b b" (HTML node) |
PASS classList.toggle("c") with attribute value " a b c " (HTML node) |
PASS classList.toggle("a") with attribute value " a b c " (HTML node) |
-FAIL classList.toggle("b") with attribute value " a a b" (HTML node) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.toggle("b") with attribute value " a a b" (HTML node) |
PASS classList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) |
PASS classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) |
PASS classList.toggle(null) with attribute value "null" (HTML node) |
@@ -313,21 +313,21 @@ PASS classList.length when set to " \t \f" (XHTML node) |
PASS classList.length when set to "a" (XHTML node) |
PASS classList.length when set to "a A" (XHTML node) |
PASS classList.length when set to "\r\na\t\f" (XHTML node) |
-FAIL classList.length when set to "a a" (XHTML node) assert_equals: expected 1 but got 2 |
-FAIL classList.length when set to "a a a a a a" (XHTML node) assert_equals: expected 1 but got 6 |
-FAIL classList.length when set to "a a b b" (XHTML node) assert_equals: expected 2 but got 4 |
+PASS classList.length when set to "a a" (XHTML node) |
+PASS classList.length when set to "a a a a a a" (XHTML node) |
+PASS classList.length when set to "a a b b" (XHTML node) |
PASS classList.length when set to "a A B b" (XHTML node) |
-FAIL classList.length when set to "a b c c b a a b c c" (XHTML node) assert_equals: expected 3 but got 10 |
-FAIL classList.length when set to " a a b" (XHTML node) assert_equals: expected 2 but got 3 |
+PASS classList.length when set to "a b c c b a a b c c" (XHTML node) |
+PASS classList.length when set to " a a b" (XHTML node) |
PASS classList.length when set to "a\tb\nc\fd\re f" (XHTML node) |
PASS classList.toString() when removed (XHTML node) |
PASS classList.toString() when set to "foo" (XHTML node) |
PASS classList.toString() when set to " a a b" (XHTML node) |
PASS classList.item() when set to null (XHTML node) |
PASS classList.item() when set to "a" (XHTML node) |
-FAIL classList.item() when set to "aa AA aa" (XHTML node) assert_equals: classList.item(2) expected (object) null but got (string) "aa" |
+PASS classList.item() when set to "aa AA aa" (XHTML node) |
PASS classList.item() when set to "a b" (XHTML node) |
-FAIL classList.item() when set to " a a b" (XHTML node) assert_equals: classList.item(1) expected "b" but got "a" |
+PASS classList.item() when set to " a a b" (XHTML node) |
PASS classList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) |
PASS classList.contains("a") when set to null (XHTML node) |
PASS classList.contains("") when set to null (XHTML node) |
@@ -386,7 +386,7 @@ PASS classList.add("a", "aa ") with attribute value null (XHTML node) |
PASS classList.add("a") with attribute value "a" (XHTML node) |
PASS classList.add("AA") with attribute value "aa" (XHTML node) |
PASS classList.add("a") with attribute value "a b c" (XHTML node) |
-FAIL classList.add("a") with attribute value "a a a b" (XHTML node) assert_equals: wrong class after modification expected "a b" but got "a a a b" |
+PASS classList.add("a") with attribute value "a a a b" (XHTML node) |
PASS classList.add("a") with attribute value null (XHTML node) |
PASS classList.add("a") with attribute value "" (XHTML node) |
PASS classList.add("a") with attribute value " " (XHTML node) |
@@ -394,13 +394,13 @@ PASS classList.add("a") with attribute value " \f" (XHTML node) |
PASS classList.add("b") with attribute value "a" (XHTML node) |
PASS classList.add("d") with attribute value "a b c" (XHTML node) |
PASS classList.add("d") with attribute value "a b c " (XHTML node) |
-FAIL classList.add("c") with attribute value " a a b" (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "a a b c" |
-FAIL classList.add("a") with attribute value " a a b" (XHTML node) assert_equals: wrong class after modification expected "a b" but got "a a b" |
+PASS classList.add("c") with attribute value " a a b" (XHTML node) |
+PASS classList.add("a") with attribute value " a a b" (XHTML node) |
PASS classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) |
PASS classList.add("d", "e") with attribute value "a b c " (XHTML node) |
PASS classList.add("a", "a") with attribute value "a b c " (XHTML node) |
PASS classList.add("d", "d") with attribute value "a b c " (XHTML node) |
-FAIL classList.add() with attribute value "a b c a " (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c a" |
+PASS classList.add() with attribute value "a b c a " (XHTML node) |
PASS classList.add("a", "b") with attribute value null (XHTML node) |
PASS classList.add("a", "b") with attribute value "" (XHTML node) |
PASS classList.add(null) with attribute value null (XHTML node) |
@@ -436,7 +436,7 @@ PASS classList.remove("c") with attribute value "a b c" (XHTML node) |
PASS classList.remove("c") with attribute value " a b c " (XHTML node) |
PASS classList.remove("c") with attribute value "a b c c c" (XHTML node) |
PASS classList.remove("a") with attribute value "a b a c a d a" (XHTML node) |
-FAIL classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (XHTML node) assert_equals: wrong class after modification expected "BB aa CC dd" but got "BB aa CC dd aa" |
+PASS classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (XHTML node) |
PASS classList.remove("a") with attribute value "\ra\na\ta\f" (XHTML node) |
PASS classList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) |
PASS classList.remove("d", "e") with attribute value "a b c " (XHTML node) |
@@ -447,7 +447,7 @@ PASS classList.remove("d", "d") with attribute value "a b c " (XHTML node) |
PASS classList.remove() with attribute value "a b c " (XHTML node) |
PASS classList.remove("a", "b") with attribute value null (XHTML node) |
PASS classList.remove("a", "b") with attribute value "" (XHTML node) |
-FAIL classList.remove() with attribute value "a a" (XHTML node) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.remove() with attribute value "a a" (XHTML node) |
PASS classList.remove(null) with attribute value "null" (XHTML node) |
PASS classList.remove(undefined) with attribute value "undefined" (XHTML node) |
PASS classList.toggle("") with attribute value null (XHTML node) |
@@ -459,15 +459,15 @@ PASS classList.toggle("a") with attribute value " \f" (XHTML node) |
PASS classList.toggle("b") with attribute value "a" (XHTML node) |
PASS classList.toggle("A") with attribute value "a" (XHTML node) |
PASS classList.toggle("d") with attribute value "a b c" (XHTML node) |
-FAIL classList.toggle("d") with attribute value " a a b" (XHTML node) assert_equals: wrong class after modification expected "a b d" but got "a a b d" |
+PASS classList.toggle("d") with attribute value " a a b" (XHTML node) |
PASS classList.toggle("a") with attribute value "a" (XHTML node) |
PASS classList.toggle("a") with attribute value " a a a " (XHTML node) |
-FAIL classList.toggle("a") with attribute value " A A A " (XHTML node) assert_equals: wrong class after modification expected "A a" but got "A A A a" |
+PASS classList.toggle("a") with attribute value " A A A " (XHTML node) |
PASS classList.toggle("b") with attribute value " a b c " (XHTML node) |
PASS classList.toggle("b") with attribute value " a b c b b" (XHTML node) |
PASS classList.toggle("c") with attribute value " a b c " (XHTML node) |
PASS classList.toggle("a") with attribute value " a b c " (XHTML node) |
-FAIL classList.toggle("b") with attribute value " a a b" (XHTML node) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.toggle("b") with attribute value " a a b" (XHTML node) |
PASS classList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) |
PASS classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) |
PASS classList.toggle(null) with attribute value "null" (XHTML node) |
@@ -618,21 +618,21 @@ PASS classList.length when set to " \t \f" (MathML node) |
PASS classList.length when set to "a" (MathML node) |
PASS classList.length when set to "a A" (MathML node) |
PASS classList.length when set to "\r\na\t\f" (MathML node) |
-FAIL classList.length when set to "a a" (MathML node) assert_equals: expected 1 but got 2 |
-FAIL classList.length when set to "a a a a a a" (MathML node) assert_equals: expected 1 but got 6 |
-FAIL classList.length when set to "a a b b" (MathML node) assert_equals: expected 2 but got 4 |
+PASS classList.length when set to "a a" (MathML node) |
+PASS classList.length when set to "a a a a a a" (MathML node) |
+PASS classList.length when set to "a a b b" (MathML node) |
PASS classList.length when set to "a A B b" (MathML node) |
-FAIL classList.length when set to "a b c c b a a b c c" (MathML node) assert_equals: expected 3 but got 10 |
-FAIL classList.length when set to " a a b" (MathML node) assert_equals: expected 2 but got 3 |
+PASS classList.length when set to "a b c c b a a b c c" (MathML node) |
+PASS classList.length when set to " a a b" (MathML node) |
PASS classList.length when set to "a\tb\nc\fd\re f" (MathML node) |
PASS classList.toString() when removed (MathML node) |
PASS classList.toString() when set to "foo" (MathML node) |
PASS classList.toString() when set to " a a b" (MathML node) |
PASS classList.item() when set to null (MathML node) |
PASS classList.item() when set to "a" (MathML node) |
-FAIL classList.item() when set to "aa AA aa" (MathML node) assert_equals: classList.item(2) expected (object) null but got (string) "aa" |
+PASS classList.item() when set to "aa AA aa" (MathML node) |
PASS classList.item() when set to "a b" (MathML node) |
-FAIL classList.item() when set to " a a b" (MathML node) assert_equals: classList.item(1) expected "b" but got "a" |
+PASS classList.item() when set to " a a b" (MathML node) |
PASS classList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) |
PASS classList.contains("a") when set to null (MathML node) |
PASS classList.contains("") when set to null (MathML node) |
@@ -691,7 +691,7 @@ PASS classList.add("a", "aa ") with attribute value null (MathML node) |
PASS classList.add("a") with attribute value "a" (MathML node) |
PASS classList.add("AA") with attribute value "aa" (MathML node) |
PASS classList.add("a") with attribute value "a b c" (MathML node) |
-FAIL classList.add("a") with attribute value "a a a b" (MathML node) assert_equals: wrong class after modification expected "a b" but got "a a a b" |
+PASS classList.add("a") with attribute value "a a a b" (MathML node) |
PASS classList.add("a") with attribute value null (MathML node) |
PASS classList.add("a") with attribute value "" (MathML node) |
PASS classList.add("a") with attribute value " " (MathML node) |
@@ -699,13 +699,13 @@ PASS classList.add("a") with attribute value " \f" (MathML node) |
PASS classList.add("b") with attribute value "a" (MathML node) |
PASS classList.add("d") with attribute value "a b c" (MathML node) |
PASS classList.add("d") with attribute value "a b c " (MathML node) |
-FAIL classList.add("c") with attribute value " a a b" (MathML node) assert_equals: wrong class after modification expected "a b c" but got "a a b c" |
-FAIL classList.add("a") with attribute value " a a b" (MathML node) assert_equals: wrong class after modification expected "a b" but got "a a b" |
+PASS classList.add("c") with attribute value " a a b" (MathML node) |
+PASS classList.add("a") with attribute value " a a b" (MathML node) |
PASS classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) |
PASS classList.add("d", "e") with attribute value "a b c " (MathML node) |
PASS classList.add("a", "a") with attribute value "a b c " (MathML node) |
PASS classList.add("d", "d") with attribute value "a b c " (MathML node) |
-FAIL classList.add() with attribute value "a b c a " (MathML node) assert_equals: wrong class after modification expected "a b c" but got "a b c a" |
+PASS classList.add() with attribute value "a b c a " (MathML node) |
PASS classList.add("a", "b") with attribute value null (MathML node) |
PASS classList.add("a", "b") with attribute value "" (MathML node) |
PASS classList.add(null) with attribute value null (MathML node) |
@@ -741,7 +741,7 @@ PASS classList.remove("c") with attribute value "a b c" (MathML node) |
PASS classList.remove("c") with attribute value " a b c " (MathML node) |
PASS classList.remove("c") with attribute value "a b c c c" (MathML node) |
PASS classList.remove("a") with attribute value "a b a c a d a" (MathML node) |
-FAIL classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (MathML node) assert_equals: wrong class after modification expected "BB aa CC dd" but got "BB aa CC dd aa" |
+PASS classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (MathML node) |
PASS classList.remove("a") with attribute value "\ra\na\ta\f" (MathML node) |
PASS classList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) |
PASS classList.remove("d", "e") with attribute value "a b c " (MathML node) |
@@ -752,7 +752,7 @@ PASS classList.remove("d", "d") with attribute value "a b c " (MathML node) |
PASS classList.remove() with attribute value "a b c " (MathML node) |
PASS classList.remove("a", "b") with attribute value null (MathML node) |
PASS classList.remove("a", "b") with attribute value "" (MathML node) |
-FAIL classList.remove() with attribute value "a a" (MathML node) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.remove() with attribute value "a a" (MathML node) |
PASS classList.remove(null) with attribute value "null" (MathML node) |
PASS classList.remove(undefined) with attribute value "undefined" (MathML node) |
PASS classList.toggle("") with attribute value null (MathML node) |
@@ -764,15 +764,15 @@ PASS classList.toggle("a") with attribute value " \f" (MathML node) |
PASS classList.toggle("b") with attribute value "a" (MathML node) |
PASS classList.toggle("A") with attribute value "a" (MathML node) |
PASS classList.toggle("d") with attribute value "a b c" (MathML node) |
-FAIL classList.toggle("d") with attribute value " a a b" (MathML node) assert_equals: wrong class after modification expected "a b d" but got "a a b d" |
+PASS classList.toggle("d") with attribute value " a a b" (MathML node) |
PASS classList.toggle("a") with attribute value "a" (MathML node) |
PASS classList.toggle("a") with attribute value " a a a " (MathML node) |
-FAIL classList.toggle("a") with attribute value " A A A " (MathML node) assert_equals: wrong class after modification expected "A a" but got "A A A a" |
+PASS classList.toggle("a") with attribute value " A A A " (MathML node) |
PASS classList.toggle("b") with attribute value " a b c " (MathML node) |
PASS classList.toggle("b") with attribute value " a b c b b" (MathML node) |
PASS classList.toggle("c") with attribute value " a b c " (MathML node) |
PASS classList.toggle("a") with attribute value " a b c " (MathML node) |
-FAIL classList.toggle("b") with attribute value " a a b" (MathML node) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.toggle("b") with attribute value " a a b" (MathML node) |
PASS classList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) |
PASS classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) |
PASS classList.toggle(null) with attribute value "null" (MathML node) |
@@ -923,21 +923,21 @@ PASS classList.length when set to " \t \f" (XML node with null namespace) |
PASS classList.length when set to "a" (XML node with null namespace) |
PASS classList.length when set to "a A" (XML node with null namespace) |
PASS classList.length when set to "\r\na\t\f" (XML node with null namespace) |
-FAIL classList.length when set to "a a" (XML node with null namespace) assert_equals: expected 1 but got 2 |
-FAIL classList.length when set to "a a a a a a" (XML node with null namespace) assert_equals: expected 1 but got 6 |
-FAIL classList.length when set to "a a b b" (XML node with null namespace) assert_equals: expected 2 but got 4 |
+PASS classList.length when set to "a a" (XML node with null namespace) |
+PASS classList.length when set to "a a a a a a" (XML node with null namespace) |
+PASS classList.length when set to "a a b b" (XML node with null namespace) |
PASS classList.length when set to "a A B b" (XML node with null namespace) |
-FAIL classList.length when set to "a b c c b a a b c c" (XML node with null namespace) assert_equals: expected 3 but got 10 |
-FAIL classList.length when set to " a a b" (XML node with null namespace) assert_equals: expected 2 but got 3 |
+PASS classList.length when set to "a b c c b a a b c c" (XML node with null namespace) |
+PASS classList.length when set to " a a b" (XML node with null namespace) |
PASS classList.length when set to "a\tb\nc\fd\re f" (XML node with null namespace) |
PASS classList.toString() when removed (XML node with null namespace) |
PASS classList.toString() when set to "foo" (XML node with null namespace) |
PASS classList.toString() when set to " a a b" (XML node with null namespace) |
PASS classList.item() when set to null (XML node with null namespace) |
PASS classList.item() when set to "a" (XML node with null namespace) |
-FAIL classList.item() when set to "aa AA aa" (XML node with null namespace) assert_equals: classList.item(2) expected (object) null but got (string) "aa" |
+PASS classList.item() when set to "aa AA aa" (XML node with null namespace) |
PASS classList.item() when set to "a b" (XML node with null namespace) |
-FAIL classList.item() when set to " a a b" (XML node with null namespace) assert_equals: classList.item(1) expected "b" but got "a" |
+PASS classList.item() when set to " a a b" (XML node with null namespace) |
PASS classList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) |
PASS classList.contains("a") when set to null (XML node with null namespace) |
PASS classList.contains("") when set to null (XML node with null namespace) |
@@ -996,7 +996,7 @@ PASS classList.add("a", "aa ") with attribute value null (XML node with null nam |
PASS classList.add("a") with attribute value "a" (XML node with null namespace) |
PASS classList.add("AA") with attribute value "aa" (XML node with null namespace) |
PASS classList.add("a") with attribute value "a b c" (XML node with null namespace) |
-FAIL classList.add("a") with attribute value "a a a b" (XML node with null namespace) assert_equals: wrong class after modification expected "a b" but got "a a a b" |
+PASS classList.add("a") with attribute value "a a a b" (XML node with null namespace) |
PASS classList.add("a") with attribute value null (XML node with null namespace) |
PASS classList.add("a") with attribute value "" (XML node with null namespace) |
PASS classList.add("a") with attribute value " " (XML node with null namespace) |
@@ -1004,13 +1004,13 @@ PASS classList.add("a") with attribute value " \f" (XML node with null namespa |
PASS classList.add("b") with attribute value "a" (XML node with null namespace) |
PASS classList.add("d") with attribute value "a b c" (XML node with null namespace) |
PASS classList.add("d") with attribute value "a b c " (XML node with null namespace) |
-FAIL classList.add("c") with attribute value " a a b" (XML node with null namespace) assert_equals: wrong class after modification expected "a b c" but got "a a b c" |
-FAIL classList.add("a") with attribute value " a a b" (XML node with null namespace) assert_equals: wrong class after modification expected "a b" but got "a a b" |
+PASS classList.add("c") with attribute value " a a b" (XML node with null namespace) |
+PASS classList.add("a") with attribute value " a a b" (XML node with null namespace) |
PASS classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) |
PASS classList.add("d", "e") with attribute value "a b c " (XML node with null namespace) |
PASS classList.add("a", "a") with attribute value "a b c " (XML node with null namespace) |
PASS classList.add("d", "d") with attribute value "a b c " (XML node with null namespace) |
-FAIL classList.add() with attribute value "a b c a " (XML node with null namespace) assert_equals: wrong class after modification expected "a b c" but got "a b c a" |
+PASS classList.add() with attribute value "a b c a " (XML node with null namespace) |
PASS classList.add("a", "b") with attribute value null (XML node with null namespace) |
PASS classList.add("a", "b") with attribute value "" (XML node with null namespace) |
PASS classList.add(null) with attribute value null (XML node with null namespace) |
@@ -1046,7 +1046,7 @@ PASS classList.remove("c") with attribute value "a b c" (XML node with null na |
PASS classList.remove("c") with attribute value " a b c " (XML node with null namespace) |
PASS classList.remove("c") with attribute value "a b c c c" (XML node with null namespace) |
PASS classList.remove("a") with attribute value "a b a c a d a" (XML node with null namespace) |
-FAIL classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (XML node with null namespace) assert_equals: wrong class after modification expected "BB aa CC dd" but got "BB aa CC dd aa" |
+PASS classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (XML node with null namespace) |
PASS classList.remove("a") with attribute value "\ra\na\ta\f" (XML node with null namespace) |
PASS classList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) |
PASS classList.remove("d", "e") with attribute value "a b c " (XML node with null namespace) |
@@ -1057,7 +1057,7 @@ PASS classList.remove("d", "d") with attribute value "a b c " (XML node with nul |
PASS classList.remove() with attribute value "a b c " (XML node with null namespace) |
PASS classList.remove("a", "b") with attribute value null (XML node with null namespace) |
PASS classList.remove("a", "b") with attribute value "" (XML node with null namespace) |
-FAIL classList.remove() with attribute value "a a" (XML node with null namespace) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.remove() with attribute value "a a" (XML node with null namespace) |
PASS classList.remove(null) with attribute value "null" (XML node with null namespace) |
PASS classList.remove(undefined) with attribute value "undefined" (XML node with null namespace) |
PASS classList.toggle("") with attribute value null (XML node with null namespace) |
@@ -1069,15 +1069,15 @@ PASS classList.toggle("a") with attribute value " \f" (XML node with null name |
PASS classList.toggle("b") with attribute value "a" (XML node with null namespace) |
PASS classList.toggle("A") with attribute value "a" (XML node with null namespace) |
PASS classList.toggle("d") with attribute value "a b c" (XML node with null namespace) |
-FAIL classList.toggle("d") with attribute value " a a b" (XML node with null namespace) assert_equals: wrong class after modification expected "a b d" but got "a a b d" |
+PASS classList.toggle("d") with attribute value " a a b" (XML node with null namespace) |
PASS classList.toggle("a") with attribute value "a" (XML node with null namespace) |
PASS classList.toggle("a") with attribute value " a a a " (XML node with null namespace) |
-FAIL classList.toggle("a") with attribute value " A A A " (XML node with null namespace) assert_equals: wrong class after modification expected "A a" but got "A A A a" |
+PASS classList.toggle("a") with attribute value " A A A " (XML node with null namespace) |
PASS classList.toggle("b") with attribute value " a b c " (XML node with null namespace) |
PASS classList.toggle("b") with attribute value " a b c b b" (XML node with null namespace) |
PASS classList.toggle("c") with attribute value " a b c " (XML node with null namespace) |
PASS classList.toggle("a") with attribute value " a b c " (XML node with null namespace) |
-FAIL classList.toggle("b") with attribute value " a a b" (XML node with null namespace) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.toggle("b") with attribute value " a a b" (XML node with null namespace) |
PASS classList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) |
PASS classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) |
PASS classList.toggle(null) with attribute value "null" (XML node with null namespace) |
@@ -1228,21 +1228,21 @@ PASS classList.length when set to " \t \f" (foo node) |
PASS classList.length when set to "a" (foo node) |
PASS classList.length when set to "a A" (foo node) |
PASS classList.length when set to "\r\na\t\f" (foo node) |
-FAIL classList.length when set to "a a" (foo node) assert_equals: expected 1 but got 2 |
-FAIL classList.length when set to "a a a a a a" (foo node) assert_equals: expected 1 but got 6 |
-FAIL classList.length when set to "a a b b" (foo node) assert_equals: expected 2 but got 4 |
+PASS classList.length when set to "a a" (foo node) |
+PASS classList.length when set to "a a a a a a" (foo node) |
+PASS classList.length when set to "a a b b" (foo node) |
PASS classList.length when set to "a A B b" (foo node) |
-FAIL classList.length when set to "a b c c b a a b c c" (foo node) assert_equals: expected 3 but got 10 |
-FAIL classList.length when set to " a a b" (foo node) assert_equals: expected 2 but got 3 |
+PASS classList.length when set to "a b c c b a a b c c" (foo node) |
+PASS classList.length when set to " a a b" (foo node) |
PASS classList.length when set to "a\tb\nc\fd\re f" (foo node) |
PASS classList.toString() when removed (foo node) |
PASS classList.toString() when set to "foo" (foo node) |
PASS classList.toString() when set to " a a b" (foo node) |
PASS classList.item() when set to null (foo node) |
PASS classList.item() when set to "a" (foo node) |
-FAIL classList.item() when set to "aa AA aa" (foo node) assert_equals: classList.item(2) expected (object) null but got (string) "aa" |
+PASS classList.item() when set to "aa AA aa" (foo node) |
PASS classList.item() when set to "a b" (foo node) |
-FAIL classList.item() when set to " a a b" (foo node) assert_equals: classList.item(1) expected "b" but got "a" |
+PASS classList.item() when set to " a a b" (foo node) |
PASS classList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) |
PASS classList.contains("a") when set to null (foo node) |
PASS classList.contains("") when set to null (foo node) |
@@ -1301,7 +1301,7 @@ PASS classList.add("a", "aa ") with attribute value null (foo node) |
PASS classList.add("a") with attribute value "a" (foo node) |
PASS classList.add("AA") with attribute value "aa" (foo node) |
PASS classList.add("a") with attribute value "a b c" (foo node) |
-FAIL classList.add("a") with attribute value "a a a b" (foo node) assert_equals: wrong class after modification expected "a b" but got "a a a b" |
+PASS classList.add("a") with attribute value "a a a b" (foo node) |
PASS classList.add("a") with attribute value null (foo node) |
PASS classList.add("a") with attribute value "" (foo node) |
PASS classList.add("a") with attribute value " " (foo node) |
@@ -1309,13 +1309,13 @@ PASS classList.add("a") with attribute value " \f" (foo node) |
PASS classList.add("b") with attribute value "a" (foo node) |
PASS classList.add("d") with attribute value "a b c" (foo node) |
PASS classList.add("d") with attribute value "a b c " (foo node) |
-FAIL classList.add("c") with attribute value " a a b" (foo node) assert_equals: wrong class after modification expected "a b c" but got "a a b c" |
-FAIL classList.add("a") with attribute value " a a b" (foo node) assert_equals: wrong class after modification expected "a b" but got "a a b" |
+PASS classList.add("c") with attribute value " a a b" (foo node) |
+PASS classList.add("a") with attribute value " a a b" (foo node) |
PASS classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) |
PASS classList.add("d", "e") with attribute value "a b c " (foo node) |
PASS classList.add("a", "a") with attribute value "a b c " (foo node) |
PASS classList.add("d", "d") with attribute value "a b c " (foo node) |
-FAIL classList.add() with attribute value "a b c a " (foo node) assert_equals: wrong class after modification expected "a b c" but got "a b c a" |
+PASS classList.add() with attribute value "a b c a " (foo node) |
PASS classList.add("a", "b") with attribute value null (foo node) |
PASS classList.add("a", "b") with attribute value "" (foo node) |
PASS classList.add(null) with attribute value null (foo node) |
@@ -1351,7 +1351,7 @@ PASS classList.remove("c") with attribute value "a b c" (foo node) |
PASS classList.remove("c") with attribute value " a b c " (foo node) |
PASS classList.remove("c") with attribute value "a b c c c" (foo node) |
PASS classList.remove("a") with attribute value "a b a c a d a" (foo node) |
-FAIL classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (foo node) assert_equals: wrong class after modification expected "BB aa CC dd" but got "BB aa CC dd aa" |
+PASS classList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (foo node) |
PASS classList.remove("a") with attribute value "\ra\na\ta\f" (foo node) |
PASS classList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) |
PASS classList.remove("d", "e") with attribute value "a b c " (foo node) |
@@ -1362,7 +1362,7 @@ PASS classList.remove("d", "d") with attribute value "a b c " (foo node) |
PASS classList.remove() with attribute value "a b c " (foo node) |
PASS classList.remove("a", "b") with attribute value null (foo node) |
PASS classList.remove("a", "b") with attribute value "" (foo node) |
-FAIL classList.remove() with attribute value "a a" (foo node) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.remove() with attribute value "a a" (foo node) |
PASS classList.remove(null) with attribute value "null" (foo node) |
PASS classList.remove(undefined) with attribute value "undefined" (foo node) |
PASS classList.toggle("") with attribute value null (foo node) |
@@ -1374,15 +1374,15 @@ PASS classList.toggle("a") with attribute value " \f" (foo node) |
PASS classList.toggle("b") with attribute value "a" (foo node) |
PASS classList.toggle("A") with attribute value "a" (foo node) |
PASS classList.toggle("d") with attribute value "a b c" (foo node) |
-FAIL classList.toggle("d") with attribute value " a a b" (foo node) assert_equals: wrong class after modification expected "a b d" but got "a a b d" |
+PASS classList.toggle("d") with attribute value " a a b" (foo node) |
PASS classList.toggle("a") with attribute value "a" (foo node) |
PASS classList.toggle("a") with attribute value " a a a " (foo node) |
-FAIL classList.toggle("a") with attribute value " A A A " (foo node) assert_equals: wrong class after modification expected "A a" but got "A A A a" |
+PASS classList.toggle("a") with attribute value " A A A " (foo node) |
PASS classList.toggle("b") with attribute value " a b c " (foo node) |
PASS classList.toggle("b") with attribute value " a b c b b" (foo node) |
PASS classList.toggle("c") with attribute value " a b c " (foo node) |
PASS classList.toggle("a") with attribute value " a b c " (foo node) |
-FAIL classList.toggle("b") with attribute value " a a b" (foo node) assert_equals: wrong class after modification expected "a" but got "a a" |
+PASS classList.toggle("b") with attribute value " a a b" (foo node) |
PASS classList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) |
PASS classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) |
PASS classList.toggle(null) with attribute value "null" (foo node) |