| This is a testharness.js-based test. |
| Found 1135 tests; 745 PASS, 390 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) |
| PASS classList.length when set to "" (HTML node) |
| 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 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\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 "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 "\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) |
| PASS classList.contains(" ") when set to null (HTML node) |
| PASS classList.contains("a") when set to "" (HTML node) |
| PASS classList.contains("a") when set to "a" (HTML node) |
| PASS classList.contains("aa") when set to "a" (HTML node) |
| PASS classList.contains("b") when set to "a" (HTML node) |
| PASS classList.contains("A") when set to "a" (HTML node) |
| PASS classList.contains("a.") when set to "a" (HTML node) |
| PASS classList.contains("a)") when set to "a" (HTML node) |
| PASS classList.contains(undefined) when set to "a" (HTML node) |
| PASS classList.contains("a'") when set to "a" (HTML node) |
| PASS classList.contains("a\"") when set to "a" (HTML node) |
| PASS classList.contains("a$") when set to "a" (HTML node) |
| PASS classList.contains("a~") when set to "a" (HTML node) |
| PASS classList.contains("a?") when set to "a" (HTML node) |
| PASS classList.contains("a\\") when set to "a" (HTML node) |
| PASS classList.contains("a\t") when set to "a" (HTML node) |
| PASS classList.contains("\ta") when set to "a" (HTML node) |
| PASS classList.contains("a\n") when set to "a" (HTML node) |
| PASS classList.contains("\na") when set to "a" (HTML node) |
| PASS classList.contains("a\f") when set to "a" (HTML node) |
| PASS classList.contains("\fa") when set to "a" (HTML node) |
| PASS classList.contains("a\r") when set to "a" (HTML node) |
| PASS classList.contains("\ra") when set to "a" (HTML node) |
| PASS classList.contains("a ") when set to "a" (HTML node) |
| PASS classList.contains(" a") when set to "a" (HTML node) |
| PASS classList.contains("aa") when set to "aa AA" (HTML node) |
| PASS classList.contains("AA") when set to "aa AA" (HTML node) |
| PASS classList.contains("aA") when set to "aa AA" (HTML node) |
| PASS classList.contains("a") when set to "a a a" (HTML node) |
| PASS classList.contains("aa") when set to "a a a" (HTML node) |
| PASS classList.contains("b") when set to "a a a" (HTML node) |
| PASS classList.contains("a") when set to "a b c" (HTML node) |
| PASS classList.contains("b") when set to "a b c" (HTML node) |
| PASS classList.contains(null) when set to "null undefined" (HTML node) |
| PASS classList.contains(undefined) when set to "null undefined" (HTML node) |
| PASS classList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) |
| PASS classList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) |
| PASS classList.add("") with attribute value null (HTML node) |
| PASS classList.add("a", "") with attribute value null (HTML node) |
| PASS classList.add(" ") with attribute value null (HTML node) |
| PASS classList.add("\ta") with attribute value null (HTML node) |
| PASS classList.add("a\t") with attribute value null (HTML node) |
| PASS classList.add("\na") with attribute value null (HTML node) |
| PASS classList.add("a\n") with attribute value null (HTML node) |
| PASS classList.add("\fa") with attribute value null (HTML node) |
| PASS classList.add("a\f") with attribute value null (HTML node) |
| PASS classList.add("\ra") with attribute value null (HTML node) |
| PASS classList.add("a\r") with attribute value null (HTML node) |
| PASS classList.add(" a") with attribute value null (HTML node) |
| PASS classList.add("a ") with attribute value null (HTML node) |
| PASS classList.add("a", " ") with attribute value null (HTML node) |
| 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 null (HTML node) |
| PASS classList.add("a") with attribute value "" (HTML node) |
| FAIL classList.add("a") with attribute value " " (HTML node) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.add("a") with attribute value " \f" (HTML node) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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" |
| FAIL classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.add("d", "e") with attribute value "a b c " (HTML node) |
| FAIL classList.add("a", "a") with attribute value "a b c " (HTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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("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) |
| PASS classList.add(undefined) with attribute value null (HTML node) |
| PASS classList.remove("") with attribute value null (HTML node) |
| PASS classList.remove(" ") with attribute value null (HTML node) |
| PASS classList.remove("\ta") with attribute value "\ta" (HTML node) |
| PASS classList.remove("a\t") with attribute value "a\t" (HTML node) |
| PASS classList.remove("\na") with attribute value "\na" (HTML node) |
| PASS classList.remove("a\n") with attribute value "a\n" (HTML node) |
| PASS classList.remove("\fa") with attribute value "\fa" (HTML node) |
| PASS classList.remove("a\f") with attribute value "a\f" (HTML node) |
| PASS classList.remove("\ra") with attribute value "\ra" (HTML node) |
| PASS classList.remove("a\r") with attribute value "a\r" (HTML node) |
| PASS classList.remove(" a") with attribute value " a" (HTML node) |
| PASS classList.remove("a ") with attribute value "a " (HTML node) |
| PASS classList.remove("aa ") with attribute value "aa " (HTML node) |
| PASS classList.remove("a") with attribute value null (HTML node) |
| PASS classList.remove("a") with attribute value "" (HTML node) |
| FAIL classList.remove("d") with attribute value "a b c" (HTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| FAIL classList.remove("A") with attribute value "a b c" (HTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| PASS classList.remove("a") with attribute value " a a a " (HTML node) |
| PASS classList.remove("a") with attribute value "a b" (HTML node) |
| PASS classList.remove("a") with attribute value "a b " (HTML node) |
| PASS classList.remove("a") with attribute value "a a b" (HTML node) |
| PASS classList.remove("aa") with attribute value "aa aa bb" (HTML node) |
| PASS classList.remove("a") with attribute value "a a b a a c a a" (HTML node) |
| PASS classList.remove("b") with attribute value "a b c" (HTML node) |
| PASS classList.remove("bbb") with attribute value "aaa bbb ccc" (HTML node) |
| PASS classList.remove("b") with attribute value " a b c " (HTML node) |
| PASS classList.remove("b") with attribute value "a b b 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 " (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("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) |
| FAIL classList.remove("d", "e") with attribute value "a b c " (HTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| PASS classList.remove("a", "b") with attribute value "a b c " (HTML node) |
| PASS classList.remove("a", "c") with attribute value "a b c " (HTML node) |
| PASS classList.remove("a", "a") with attribute value "a b c " (HTML node) |
| FAIL classList.remove("d", "d") with attribute value "a b c " (HTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| FAIL classList.remove() with attribute value "a b c " (HTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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(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) |
| PASS classList.toggle("aa ") with attribute value null (HTML node) |
| PASS classList.toggle("a") with attribute value null (HTML node) |
| PASS classList.toggle("a") with attribute value "" (HTML node) |
| FAIL classList.toggle("a") with attribute value " " (HTML node) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.toggle("a") with attribute value " \f" (HTML node) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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("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("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("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) |
| FAIL classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.toggle(null) with attribute value "null" (HTML node) |
| PASS classList.toggle(null) with attribute value "" (HTML node) |
| PASS classList.toggle(undefined) with attribute value "undefined" (HTML node) |
| PASS classList.toggle(undefined) with attribute value "" (HTML node) |
| PASS classList.toggle("a", true) with attribute value "" (HTML node) |
| PASS classList.toggle("a", true) with attribute value "a" (HTML node) |
| PASS classList.toggle("b", true) with attribute value "a" (HTML node) |
| PASS classList.toggle("b", true) with attribute value "a b" (HTML node) |
| PASS classList.toggle("a", false) with attribute value "" (HTML node) |
| PASS classList.toggle("a", false) with attribute value "a" (HTML node) |
| PASS classList.toggle("b", false) with attribute value "a" (HTML node) |
| PASS classList.toggle("b", false) with attribute value "a b" (HTML node) |
| FAIL classList.replace("", "a") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("", " ") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "a") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ta", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\t", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\na", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\n", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\fa", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\f", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ra", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\r", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace(" a", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a ", "b") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("a", " ") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ta") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\t") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\na") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\n") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\fa") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\f") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ra") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\r") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", " a") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a ") with attribute value null (HTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "a") with attribute value "a" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "a" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("A", "b") with attribute value "a" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "A") with attribute value "a b" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("d", "e") with attribute value "a b c" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "a") with attribute value "a a a b" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "d") with attribute value "a a a b" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value null (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " " (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " a \f" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "d") with attribute value "a b c" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "a b c" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "c b a" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "a b a" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "a b a" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value " a a b" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value " a a b" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace(null, "b") with attribute value "a null" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", null) with attribute value "a b" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace(undefined, "b") with attribute value "a undefined" (HTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", undefined) with attribute value "a b" (HTML node) Cannot read property 'apply' of undefined |
| PASS Assigning to classList (XHTML node) |
| PASS .supports() must throw TypeError (XHTML node) |
| PASS classList.length when removed (XHTML node) |
| PASS classList.length when set to "" (XHTML node) |
| 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 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\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 "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 "\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) |
| PASS classList.contains(" ") when set to null (XHTML node) |
| PASS classList.contains("a") when set to "" (XHTML node) |
| PASS classList.contains("a") when set to "a" (XHTML node) |
| PASS classList.contains("aa") when set to "a" (XHTML node) |
| PASS classList.contains("b") when set to "a" (XHTML node) |
| PASS classList.contains("A") when set to "a" (XHTML node) |
| PASS classList.contains("a.") when set to "a" (XHTML node) |
| PASS classList.contains("a)") when set to "a" (XHTML node) |
| PASS classList.contains(undefined) when set to "a" (XHTML node) |
| PASS classList.contains("a'") when set to "a" (XHTML node) |
| PASS classList.contains("a\"") when set to "a" (XHTML node) |
| PASS classList.contains("a$") when set to "a" (XHTML node) |
| PASS classList.contains("a~") when set to "a" (XHTML node) |
| PASS classList.contains("a?") when set to "a" (XHTML node) |
| PASS classList.contains("a\\") when set to "a" (XHTML node) |
| PASS classList.contains("a\t") when set to "a" (XHTML node) |
| PASS classList.contains("\ta") when set to "a" (XHTML node) |
| PASS classList.contains("a\n") when set to "a" (XHTML node) |
| PASS classList.contains("\na") when set to "a" (XHTML node) |
| PASS classList.contains("a\f") when set to "a" (XHTML node) |
| PASS classList.contains("\fa") when set to "a" (XHTML node) |
| PASS classList.contains("a\r") when set to "a" (XHTML node) |
| PASS classList.contains("\ra") when set to "a" (XHTML node) |
| PASS classList.contains("a ") when set to "a" (XHTML node) |
| PASS classList.contains(" a") when set to "a" (XHTML node) |
| PASS classList.contains("aa") when set to "aa AA" (XHTML node) |
| PASS classList.contains("AA") when set to "aa AA" (XHTML node) |
| PASS classList.contains("aA") when set to "aa AA" (XHTML node) |
| PASS classList.contains("a") when set to "a a a" (XHTML node) |
| PASS classList.contains("aa") when set to "a a a" (XHTML node) |
| PASS classList.contains("b") when set to "a a a" (XHTML node) |
| PASS classList.contains("a") when set to "a b c" (XHTML node) |
| PASS classList.contains("b") when set to "a b c" (XHTML node) |
| PASS classList.contains(null) when set to "null undefined" (XHTML node) |
| PASS classList.contains(undefined) when set to "null undefined" (XHTML node) |
| PASS classList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) |
| PASS classList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) |
| PASS classList.add("") with attribute value null (XHTML node) |
| PASS classList.add("a", "") with attribute value null (XHTML node) |
| PASS classList.add(" ") with attribute value null (XHTML node) |
| PASS classList.add("\ta") with attribute value null (XHTML node) |
| PASS classList.add("a\t") with attribute value null (XHTML node) |
| PASS classList.add("\na") with attribute value null (XHTML node) |
| PASS classList.add("a\n") with attribute value null (XHTML node) |
| PASS classList.add("\fa") with attribute value null (XHTML node) |
| PASS classList.add("a\f") with attribute value null (XHTML node) |
| PASS classList.add("\ra") with attribute value null (XHTML node) |
| PASS classList.add("a\r") with attribute value null (XHTML node) |
| PASS classList.add(" a") with attribute value null (XHTML node) |
| PASS classList.add("a ") with attribute value null (XHTML node) |
| PASS classList.add("a", " ") with attribute value null (XHTML node) |
| 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 null (XHTML node) |
| PASS classList.add("a") with attribute value "" (XHTML node) |
| FAIL classList.add("a") with attribute value " " (XHTML node) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.add("a") with attribute value " \f" (XHTML node) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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" |
| FAIL classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.add("d", "e") with attribute value "a b c " (XHTML node) |
| FAIL classList.add("a", "a") with attribute value "a b c " (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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("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) |
| PASS classList.add(undefined) with attribute value null (XHTML node) |
| PASS classList.remove("") with attribute value null (XHTML node) |
| PASS classList.remove(" ") with attribute value null (XHTML node) |
| PASS classList.remove("\ta") with attribute value "\ta" (XHTML node) |
| PASS classList.remove("a\t") with attribute value "a\t" (XHTML node) |
| PASS classList.remove("\na") with attribute value "\na" (XHTML node) |
| PASS classList.remove("a\n") with attribute value "a\n" (XHTML node) |
| PASS classList.remove("\fa") with attribute value "\fa" (XHTML node) |
| PASS classList.remove("a\f") with attribute value "a\f" (XHTML node) |
| PASS classList.remove("\ra") with attribute value "\ra" (XHTML node) |
| PASS classList.remove("a\r") with attribute value "a\r" (XHTML node) |
| PASS classList.remove(" a") with attribute value " a" (XHTML node) |
| PASS classList.remove("a ") with attribute value "a " (XHTML node) |
| PASS classList.remove("aa ") with attribute value "aa " (XHTML node) |
| PASS classList.remove("a") with attribute value null (XHTML node) |
| PASS classList.remove("a") with attribute value "" (XHTML node) |
| FAIL classList.remove("d") with attribute value "a b c" (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| FAIL classList.remove("A") with attribute value "a b c" (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| PASS classList.remove("a") with attribute value " a a a " (XHTML node) |
| PASS classList.remove("a") with attribute value "a b" (XHTML node) |
| PASS classList.remove("a") with attribute value "a b " (XHTML node) |
| PASS classList.remove("a") with attribute value "a a b" (XHTML node) |
| PASS classList.remove("aa") with attribute value "aa aa bb" (XHTML node) |
| PASS classList.remove("a") with attribute value "a a b a a c a a" (XHTML node) |
| PASS classList.remove("b") with attribute value "a b c" (XHTML node) |
| PASS classList.remove("bbb") with attribute value "aaa bbb ccc" (XHTML node) |
| PASS classList.remove("b") with attribute value " a b c " (XHTML node) |
| PASS classList.remove("b") with attribute value "a b b 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 " (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("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) |
| FAIL classList.remove("d", "e") with attribute value "a b c " (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| PASS classList.remove("a", "b") with attribute value "a b c " (XHTML node) |
| PASS classList.remove("a", "c") with attribute value "a b c " (XHTML node) |
| PASS classList.remove("a", "a") with attribute value "a b c " (XHTML node) |
| FAIL classList.remove("d", "d") with attribute value "a b c " (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| FAIL classList.remove() with attribute value "a b c " (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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(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) |
| PASS classList.toggle("aa ") with attribute value null (XHTML node) |
| PASS classList.toggle("a") with attribute value null (XHTML node) |
| PASS classList.toggle("a") with attribute value "" (XHTML node) |
| FAIL classList.toggle("a") with attribute value " " (XHTML node) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.toggle("a") with attribute value " \f" (XHTML node) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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("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("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("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) |
| FAIL classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.toggle(null) with attribute value "null" (XHTML node) |
| PASS classList.toggle(null) with attribute value "" (XHTML node) |
| PASS classList.toggle(undefined) with attribute value "undefined" (XHTML node) |
| PASS classList.toggle(undefined) with attribute value "" (XHTML node) |
| PASS classList.toggle("a", true) with attribute value "" (XHTML node) |
| PASS classList.toggle("a", true) with attribute value "a" (XHTML node) |
| PASS classList.toggle("b", true) with attribute value "a" (XHTML node) |
| PASS classList.toggle("b", true) with attribute value "a b" (XHTML node) |
| PASS classList.toggle("a", false) with attribute value "" (XHTML node) |
| PASS classList.toggle("a", false) with attribute value "a" (XHTML node) |
| PASS classList.toggle("b", false) with attribute value "a" (XHTML node) |
| PASS classList.toggle("b", false) with attribute value "a b" (XHTML node) |
| FAIL classList.replace("", "a") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("", " ") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "a") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ta", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\t", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\na", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\n", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\fa", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\f", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ra", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\r", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace(" a", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a ", "b") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("a", " ") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ta") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\t") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\na") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\n") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\fa") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\f") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ra") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\r") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", " a") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a ") with attribute value null (XHTML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "a") with attribute value "a" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "a" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("A", "b") with attribute value "a" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "A") with attribute value "a b" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("d", "e") with attribute value "a b c" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "a") with attribute value "a a a b" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "d") with attribute value "a a a b" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value null (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " " (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " a \f" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "d") with attribute value "a b c" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "a b c" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "c b a" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "a b a" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "a b a" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value " a a b" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value " a a b" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace(null, "b") with attribute value "a null" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", null) with attribute value "a b" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace(undefined, "b") with attribute value "a undefined" (XHTML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", undefined) with attribute value "a b" (XHTML node) Cannot read property 'apply' of undefined |
| PASS Assigning to classList (MathML node) |
| PASS .supports() must throw TypeError (MathML node) |
| PASS classList.length when removed (MathML node) |
| PASS classList.length when set to "" (MathML node) |
| 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 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\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 "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 "\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) |
| PASS classList.contains(" ") when set to null (MathML node) |
| PASS classList.contains("a") when set to "" (MathML node) |
| PASS classList.contains("a") when set to "a" (MathML node) |
| PASS classList.contains("aa") when set to "a" (MathML node) |
| PASS classList.contains("b") when set to "a" (MathML node) |
| PASS classList.contains("A") when set to "a" (MathML node) |
| PASS classList.contains("a.") when set to "a" (MathML node) |
| PASS classList.contains("a)") when set to "a" (MathML node) |
| PASS classList.contains(undefined) when set to "a" (MathML node) |
| PASS classList.contains("a'") when set to "a" (MathML node) |
| PASS classList.contains("a\"") when set to "a" (MathML node) |
| PASS classList.contains("a$") when set to "a" (MathML node) |
| PASS classList.contains("a~") when set to "a" (MathML node) |
| PASS classList.contains("a?") when set to "a" (MathML node) |
| PASS classList.contains("a\\") when set to "a" (MathML node) |
| PASS classList.contains("a\t") when set to "a" (MathML node) |
| PASS classList.contains("\ta") when set to "a" (MathML node) |
| PASS classList.contains("a\n") when set to "a" (MathML node) |
| PASS classList.contains("\na") when set to "a" (MathML node) |
| PASS classList.contains("a\f") when set to "a" (MathML node) |
| PASS classList.contains("\fa") when set to "a" (MathML node) |
| PASS classList.contains("a\r") when set to "a" (MathML node) |
| PASS classList.contains("\ra") when set to "a" (MathML node) |
| PASS classList.contains("a ") when set to "a" (MathML node) |
| PASS classList.contains(" a") when set to "a" (MathML node) |
| PASS classList.contains("aa") when set to "aa AA" (MathML node) |
| PASS classList.contains("AA") when set to "aa AA" (MathML node) |
| PASS classList.contains("aA") when set to "aa AA" (MathML node) |
| PASS classList.contains("a") when set to "a a a" (MathML node) |
| PASS classList.contains("aa") when set to "a a a" (MathML node) |
| PASS classList.contains("b") when set to "a a a" (MathML node) |
| PASS classList.contains("a") when set to "a b c" (MathML node) |
| PASS classList.contains("b") when set to "a b c" (MathML node) |
| PASS classList.contains(null) when set to "null undefined" (MathML node) |
| PASS classList.contains(undefined) when set to "null undefined" (MathML node) |
| PASS classList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) |
| PASS classList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) |
| PASS classList.add("") with attribute value null (MathML node) |
| PASS classList.add("a", "") with attribute value null (MathML node) |
| PASS classList.add(" ") with attribute value null (MathML node) |
| PASS classList.add("\ta") with attribute value null (MathML node) |
| PASS classList.add("a\t") with attribute value null (MathML node) |
| PASS classList.add("\na") with attribute value null (MathML node) |
| PASS classList.add("a\n") with attribute value null (MathML node) |
| PASS classList.add("\fa") with attribute value null (MathML node) |
| PASS classList.add("a\f") with attribute value null (MathML node) |
| PASS classList.add("\ra") with attribute value null (MathML node) |
| PASS classList.add("a\r") with attribute value null (MathML node) |
| PASS classList.add(" a") with attribute value null (MathML node) |
| PASS classList.add("a ") with attribute value null (MathML node) |
| PASS classList.add("a", " ") with attribute value null (MathML node) |
| 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 null (MathML node) |
| PASS classList.add("a") with attribute value "" (MathML node) |
| FAIL classList.add("a") with attribute value " " (MathML node) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.add("a") with attribute value " \f" (MathML node) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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" |
| FAIL classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.add("d", "e") with attribute value "a b c " (MathML node) |
| FAIL classList.add("a", "a") with attribute value "a b c " (MathML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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("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) |
| PASS classList.add(undefined) with attribute value null (MathML node) |
| PASS classList.remove("") with attribute value null (MathML node) |
| PASS classList.remove(" ") with attribute value null (MathML node) |
| PASS classList.remove("\ta") with attribute value "\ta" (MathML node) |
| PASS classList.remove("a\t") with attribute value "a\t" (MathML node) |
| PASS classList.remove("\na") with attribute value "\na" (MathML node) |
| PASS classList.remove("a\n") with attribute value "a\n" (MathML node) |
| PASS classList.remove("\fa") with attribute value "\fa" (MathML node) |
| PASS classList.remove("a\f") with attribute value "a\f" (MathML node) |
| PASS classList.remove("\ra") with attribute value "\ra" (MathML node) |
| PASS classList.remove("a\r") with attribute value "a\r" (MathML node) |
| PASS classList.remove(" a") with attribute value " a" (MathML node) |
| PASS classList.remove("a ") with attribute value "a " (MathML node) |
| PASS classList.remove("aa ") with attribute value "aa " (MathML node) |
| PASS classList.remove("a") with attribute value null (MathML node) |
| PASS classList.remove("a") with attribute value "" (MathML node) |
| FAIL classList.remove("d") with attribute value "a b c" (MathML node) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| FAIL classList.remove("A") with attribute value "a b c" (MathML node) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| PASS classList.remove("a") with attribute value " a a a " (MathML node) |
| PASS classList.remove("a") with attribute value "a b" (MathML node) |
| PASS classList.remove("a") with attribute value "a b " (MathML node) |
| PASS classList.remove("a") with attribute value "a a b" (MathML node) |
| PASS classList.remove("aa") with attribute value "aa aa bb" (MathML node) |
| PASS classList.remove("a") with attribute value "a a b a a c a a" (MathML node) |
| PASS classList.remove("b") with attribute value "a b c" (MathML node) |
| PASS classList.remove("bbb") with attribute value "aaa bbb ccc" (MathML node) |
| PASS classList.remove("b") with attribute value " a b c " (MathML node) |
| PASS classList.remove("b") with attribute value "a b b 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 " (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("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) |
| FAIL classList.remove("d", "e") with attribute value "a b c " (MathML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| PASS classList.remove("a", "b") with attribute value "a b c " (MathML node) |
| PASS classList.remove("a", "c") with attribute value "a b c " (MathML node) |
| PASS classList.remove("a", "a") with attribute value "a b c " (MathML node) |
| FAIL classList.remove("d", "d") with attribute value "a b c " (MathML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| FAIL classList.remove() with attribute value "a b c " (MathML node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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(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) |
| PASS classList.toggle("aa ") with attribute value null (MathML node) |
| PASS classList.toggle("a") with attribute value null (MathML node) |
| PASS classList.toggle("a") with attribute value "" (MathML node) |
| FAIL classList.toggle("a") with attribute value " " (MathML node) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.toggle("a") with attribute value " \f" (MathML node) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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("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("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("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) |
| FAIL classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.toggle(null) with attribute value "null" (MathML node) |
| PASS classList.toggle(null) with attribute value "" (MathML node) |
| PASS classList.toggle(undefined) with attribute value "undefined" (MathML node) |
| PASS classList.toggle(undefined) with attribute value "" (MathML node) |
| PASS classList.toggle("a", true) with attribute value "" (MathML node) |
| PASS classList.toggle("a", true) with attribute value "a" (MathML node) |
| PASS classList.toggle("b", true) with attribute value "a" (MathML node) |
| PASS classList.toggle("b", true) with attribute value "a b" (MathML node) |
| PASS classList.toggle("a", false) with attribute value "" (MathML node) |
| PASS classList.toggle("a", false) with attribute value "a" (MathML node) |
| PASS classList.toggle("b", false) with attribute value "a" (MathML node) |
| PASS classList.toggle("b", false) with attribute value "a b" (MathML node) |
| FAIL classList.replace("", "a") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("", " ") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "a") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ta", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\t", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\na", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\n", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\fa", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\f", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ra", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\r", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace(" a", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a ", "b") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("a", " ") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ta") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\t") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\na") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\n") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\fa") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\f") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ra") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\r") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", " a") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a ") with attribute value null (MathML node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "a") with attribute value "a" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "a" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("A", "b") with attribute value "a" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "A") with attribute value "a b" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("d", "e") with attribute value "a b c" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "a") with attribute value "a a a b" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "d") with attribute value "a a a b" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value null (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " " (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " a \f" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "d") with attribute value "a b c" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "a b c" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "c b a" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "a b a" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "a b a" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value " a a b" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value " a a b" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace(null, "b") with attribute value "a null" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", null) with attribute value "a b" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace(undefined, "b") with attribute value "a undefined" (MathML node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", undefined) with attribute value "a b" (MathML node) Cannot read property 'apply' of undefined |
| PASS Assigning to classList (XML node with null namespace) |
| PASS .supports() must throw TypeError (XML node with null namespace) |
| PASS classList.length when removed (XML node with null namespace) |
| PASS classList.length when set to "" (XML node with null namespace) |
| 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 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\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 "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 "\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) |
| PASS classList.contains(" ") when set to null (XML node with null namespace) |
| PASS classList.contains("a") when set to "" (XML node with null namespace) |
| PASS classList.contains("a") when set to "a" (XML node with null namespace) |
| PASS classList.contains("aa") when set to "a" (XML node with null namespace) |
| PASS classList.contains("b") when set to "a" (XML node with null namespace) |
| PASS classList.contains("A") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a.") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a)") when set to "a" (XML node with null namespace) |
| PASS classList.contains(undefined) when set to "a" (XML node with null namespace) |
| PASS classList.contains("a'") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a\"") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a$") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a~") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a?") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a\\") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a\t") when set to "a" (XML node with null namespace) |
| PASS classList.contains("\ta") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a\n") when set to "a" (XML node with null namespace) |
| PASS classList.contains("\na") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a\f") when set to "a" (XML node with null namespace) |
| PASS classList.contains("\fa") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a\r") when set to "a" (XML node with null namespace) |
| PASS classList.contains("\ra") when set to "a" (XML node with null namespace) |
| PASS classList.contains("a ") when set to "a" (XML node with null namespace) |
| PASS classList.contains(" a") when set to "a" (XML node with null namespace) |
| PASS classList.contains("aa") when set to "aa AA" (XML node with null namespace) |
| PASS classList.contains("AA") when set to "aa AA" (XML node with null namespace) |
| PASS classList.contains("aA") when set to "aa AA" (XML node with null namespace) |
| PASS classList.contains("a") when set to "a a a" (XML node with null namespace) |
| PASS classList.contains("aa") when set to "a a a" (XML node with null namespace) |
| PASS classList.contains("b") when set to "a a a" (XML node with null namespace) |
| PASS classList.contains("a") when set to "a b c" (XML node with null namespace) |
| PASS classList.contains("b") when set to "a b c" (XML node with null namespace) |
| PASS classList.contains(null) when set to "null undefined" (XML node with null namespace) |
| PASS classList.contains(undefined) when set to "null undefined" (XML node with null namespace) |
| PASS classList.contains("a") 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("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) |
| PASS classList.add("") with attribute value null (XML node with null namespace) |
| PASS classList.add("a", "") with attribute value null (XML node with null namespace) |
| PASS classList.add(" ") with attribute value null (XML node with null namespace) |
| PASS classList.add("\ta") with attribute value null (XML node with null namespace) |
| PASS classList.add("a\t") with attribute value null (XML node with null namespace) |
| PASS classList.add("\na") with attribute value null (XML node with null namespace) |
| PASS classList.add("a\n") with attribute value null (XML node with null namespace) |
| PASS classList.add("\fa") with attribute value null (XML node with null namespace) |
| PASS classList.add("a\f") with attribute value null (XML node with null namespace) |
| PASS classList.add("\ra") with attribute value null (XML node with null namespace) |
| PASS classList.add("a\r") with attribute value null (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 null (XML node with null namespace) |
| PASS classList.add("a", " ") with attribute value null (XML node with null namespace) |
| PASS classList.add("a", "aa ") with attribute value null (XML node with null namespace) |
| 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 null (XML node with null namespace) |
| PASS classList.add("a") with attribute value "" (XML node with null namespace) |
| FAIL classList.add("a") with attribute value " " (XML node with null namespace) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.add("a") with attribute value " \f" (XML node with null namespace) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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" |
| FAIL 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) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.add("d", "e") with attribute value "a b c " (XML node with null namespace) |
| FAIL classList.add("a", "a") with attribute value "a b c " (XML node with null namespace) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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("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) |
| PASS classList.add(undefined) with attribute value null (XML node with null namespace) |
| PASS classList.remove("") with attribute value null (XML node with null namespace) |
| PASS classList.remove(" ") with attribute value null (XML node with null namespace) |
| PASS classList.remove("\ta") with attribute value "\ta" (XML node with null namespace) |
| PASS classList.remove("a\t") with attribute value "a\t" (XML node with null namespace) |
| PASS classList.remove("\na") with attribute value "\na" (XML node with null namespace) |
| PASS classList.remove("a\n") with attribute value "a\n" (XML node with null namespace) |
| PASS classList.remove("\fa") with attribute value "\fa" (XML node with null namespace) |
| PASS classList.remove("a\f") with attribute value "a\f" (XML node with null namespace) |
| PASS classList.remove("\ra") with attribute value "\ra" (XML node with null namespace) |
| PASS classList.remove("a\r") with attribute value "a\r" (XML node with null namespace) |
| PASS classList.remove(" a") with attribute value " a" (XML node with null namespace) |
| PASS classList.remove("a ") with attribute value "a " (XML node with null namespace) |
| PASS classList.remove("aa ") with attribute value "aa " (XML node with null namespace) |
| PASS classList.remove("a") with attribute value null (XML node with null namespace) |
| PASS classList.remove("a") with attribute value "" (XML node with null namespace) |
| FAIL classList.remove("d") with attribute value "a b c" (XML node with null namespace) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| FAIL classList.remove("A") with attribute value "a b c" (XML node with null namespace) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| PASS classList.remove("a") with attribute value " a a a " (XML node with null namespace) |
| PASS classList.remove("a") with attribute value "a b" (XML node with null namespace) |
| PASS classList.remove("a") with attribute value "a b " (XML node with null namespace) |
| PASS classList.remove("a") with attribute value "a a b" (XML node with null namespace) |
| PASS classList.remove("aa") with attribute value "aa aa bb" (XML node with null namespace) |
| PASS classList.remove("a") with attribute value "a a b a a c a a" (XML node with null namespace) |
| PASS classList.remove("b") with attribute value "a b c" (XML node with null namespace) |
| PASS classList.remove("bbb") with attribute value "aaa bbb ccc" (XML node with null namespace) |
| PASS classList.remove("b") with attribute value " a b c " (XML node with null namespace) |
| PASS classList.remove("b") with attribute value "a b b b c" (XML node with null namespace) |
| 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 " (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("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) |
| FAIL classList.remove("d", "e") with attribute value "a b c " (XML node with null namespace) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| PASS classList.remove("a", "b") with attribute value "a b c " (XML node with null namespace) |
| PASS classList.remove("a", "c") with attribute value "a b c " (XML node with null namespace) |
| PASS classList.remove("a", "a") with attribute value "a b c " (XML node with null namespace) |
| FAIL classList.remove("d", "d") with attribute value "a b c " (XML node with null namespace) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| FAIL classList.remove() with attribute value "a b c " (XML node with null namespace) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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(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) |
| PASS classList.toggle("aa ") with attribute value null (XML node with null namespace) |
| PASS classList.toggle("a") with attribute value null (XML node with null namespace) |
| PASS classList.toggle("a") with attribute value "" (XML node with null namespace) |
| FAIL classList.toggle("a") with attribute value " " (XML node with null namespace) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.toggle("a") with attribute value " \f" (XML node with null namespace) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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("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("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("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) |
| FAIL 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) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.toggle(null) with attribute value "null" (XML node with null namespace) |
| PASS classList.toggle(null) with attribute value "" (XML node with null namespace) |
| PASS classList.toggle(undefined) with attribute value "undefined" (XML node with null namespace) |
| PASS classList.toggle(undefined) with attribute value "" (XML node with null namespace) |
| PASS classList.toggle("a", true) with attribute value "" (XML node with null namespace) |
| PASS classList.toggle("a", true) with attribute value "a" (XML node with null namespace) |
| PASS classList.toggle("b", true) with attribute value "a" (XML node with null namespace) |
| PASS classList.toggle("b", true) with attribute value "a b" (XML node with null namespace) |
| PASS classList.toggle("a", false) with attribute value "" (XML node with null namespace) |
| PASS classList.toggle("a", false) with attribute value "a" (XML node with null namespace) |
| PASS classList.toggle("b", false) with attribute value "a" (XML node with null namespace) |
| PASS classList.toggle("b", false) with attribute value "a b" (XML node with null namespace) |
| FAIL classList.replace("", "a") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("", " ") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "a") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ta", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\t", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\na", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\n", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\fa", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\f", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ra", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\r", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace(" a", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a ", "b") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("a", " ") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ta") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\t") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\na") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\n") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\fa") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\f") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ra") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\r") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", " a") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a ") with attribute value null (XML node with null namespace) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "a") with attribute value "a" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "a" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("A", "b") with attribute value "a" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "A") with attribute value "a b" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("d", "e") with attribute value "a b c" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "a") with attribute value "a a a b" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "d") with attribute value "a a a b" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value null (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " " (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " a \f" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "d") with attribute value "a b c" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "a b c" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "c b a" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "a b a" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "a b a" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value " a a b" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value " a a b" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace(null, "b") with attribute value "a null" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", null) with attribute value "a b" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace(undefined, "b") with attribute value "a undefined" (XML node with null namespace) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", undefined) with attribute value "a b" (XML node with null namespace) Cannot read property 'apply' of undefined |
| PASS Assigning to classList (foo node) |
| PASS .supports() must throw TypeError (foo node) |
| PASS classList.length when removed (foo node) |
| PASS classList.length when set to "" (foo node) |
| 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 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\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 "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 "\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) |
| PASS classList.contains(" ") when set to null (foo node) |
| PASS classList.contains("a") when set to "" (foo node) |
| PASS classList.contains("a") when set to "a" (foo node) |
| PASS classList.contains("aa") when set to "a" (foo node) |
| PASS classList.contains("b") when set to "a" (foo node) |
| PASS classList.contains("A") when set to "a" (foo node) |
| PASS classList.contains("a.") when set to "a" (foo node) |
| PASS classList.contains("a)") when set to "a" (foo node) |
| PASS classList.contains(undefined) when set to "a" (foo node) |
| PASS classList.contains("a'") when set to "a" (foo node) |
| PASS classList.contains("a\"") when set to "a" (foo node) |
| PASS classList.contains("a$") when set to "a" (foo node) |
| PASS classList.contains("a~") when set to "a" (foo node) |
| PASS classList.contains("a?") when set to "a" (foo node) |
| PASS classList.contains("a\\") when set to "a" (foo node) |
| PASS classList.contains("a\t") when set to "a" (foo node) |
| PASS classList.contains("\ta") when set to "a" (foo node) |
| PASS classList.contains("a\n") when set to "a" (foo node) |
| PASS classList.contains("\na") when set to "a" (foo node) |
| PASS classList.contains("a\f") when set to "a" (foo node) |
| PASS classList.contains("\fa") when set to "a" (foo node) |
| PASS classList.contains("a\r") when set to "a" (foo node) |
| PASS classList.contains("\ra") when set to "a" (foo node) |
| PASS classList.contains("a ") when set to "a" (foo node) |
| PASS classList.contains(" a") when set to "a" (foo node) |
| PASS classList.contains("aa") when set to "aa AA" (foo node) |
| PASS classList.contains("AA") when set to "aa AA" (foo node) |
| PASS classList.contains("aA") when set to "aa AA" (foo node) |
| PASS classList.contains("a") when set to "a a a" (foo node) |
| PASS classList.contains("aa") when set to "a a a" (foo node) |
| PASS classList.contains("b") when set to "a a a" (foo node) |
| PASS classList.contains("a") when set to "a b c" (foo node) |
| PASS classList.contains("b") when set to "a b c" (foo node) |
| PASS classList.contains(null) when set to "null undefined" (foo node) |
| PASS classList.contains(undefined) when set to "null undefined" (foo node) |
| PASS classList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) |
| PASS classList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) |
| PASS classList.add("") with attribute value null (foo node) |
| PASS classList.add("a", "") with attribute value null (foo node) |
| PASS classList.add(" ") with attribute value null (foo node) |
| PASS classList.add("\ta") with attribute value null (foo node) |
| PASS classList.add("a\t") with attribute value null (foo node) |
| PASS classList.add("\na") with attribute value null (foo node) |
| PASS classList.add("a\n") with attribute value null (foo node) |
| PASS classList.add("\fa") with attribute value null (foo node) |
| PASS classList.add("a\f") with attribute value null (foo node) |
| PASS classList.add("\ra") with attribute value null (foo node) |
| PASS classList.add("a\r") with attribute value null (foo node) |
| PASS classList.add(" a") with attribute value null (foo node) |
| PASS classList.add("a ") with attribute value null (foo node) |
| PASS classList.add("a", " ") with attribute value null (foo node) |
| 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 null (foo node) |
| PASS classList.add("a") with attribute value "" (foo node) |
| FAIL classList.add("a") with attribute value " " (foo node) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.add("a") with attribute value " \f" (foo node) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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" |
| FAIL classList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.add("d", "e") with attribute value "a b c " (foo node) |
| FAIL classList.add("a", "a") with attribute value "a b c " (foo node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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("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) |
| PASS classList.add(undefined) with attribute value null (foo node) |
| PASS classList.remove("") with attribute value null (foo node) |
| PASS classList.remove(" ") with attribute value null (foo node) |
| PASS classList.remove("\ta") with attribute value "\ta" (foo node) |
| PASS classList.remove("a\t") with attribute value "a\t" (foo node) |
| PASS classList.remove("\na") with attribute value "\na" (foo node) |
| PASS classList.remove("a\n") with attribute value "a\n" (foo node) |
| PASS classList.remove("\fa") with attribute value "\fa" (foo node) |
| PASS classList.remove("a\f") with attribute value "a\f" (foo node) |
| PASS classList.remove("\ra") with attribute value "\ra" (foo node) |
| PASS classList.remove("a\r") with attribute value "a\r" (foo node) |
| PASS classList.remove(" a") with attribute value " a" (foo node) |
| PASS classList.remove("a ") with attribute value "a " (foo node) |
| PASS classList.remove("aa ") with attribute value "aa " (foo node) |
| PASS classList.remove("a") with attribute value null (foo node) |
| PASS classList.remove("a") with attribute value "" (foo node) |
| FAIL classList.remove("d") with attribute value "a b c" (foo node) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| FAIL classList.remove("A") with attribute value "a b c" (foo node) assert_equals: wrong class after modification expected "a b c" but got "a b c" |
| PASS classList.remove("a") with attribute value " a a a " (foo node) |
| PASS classList.remove("a") with attribute value "a b" (foo node) |
| PASS classList.remove("a") with attribute value "a b " (foo node) |
| PASS classList.remove("a") with attribute value "a a b" (foo node) |
| PASS classList.remove("aa") with attribute value "aa aa bb" (foo node) |
| PASS classList.remove("a") with attribute value "a a b a a c a a" (foo node) |
| PASS classList.remove("b") with attribute value "a b c" (foo node) |
| PASS classList.remove("bbb") with attribute value "aaa bbb ccc" (foo node) |
| PASS classList.remove("b") with attribute value " a b c " (foo node) |
| PASS classList.remove("b") with attribute value "a b b 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 " (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("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) |
| FAIL classList.remove("d", "e") with attribute value "a b c " (foo node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| PASS classList.remove("a", "b") with attribute value "a b c " (foo node) |
| PASS classList.remove("a", "c") with attribute value "a b c " (foo node) |
| PASS classList.remove("a", "a") with attribute value "a b c " (foo node) |
| FAIL classList.remove("d", "d") with attribute value "a b c " (foo node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| FAIL classList.remove() with attribute value "a b c " (foo node) assert_equals: wrong class after modification expected "a b c" but got "a b c " |
| 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(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) |
| PASS classList.toggle("aa ") with attribute value null (foo node) |
| PASS classList.toggle("a") with attribute value null (foo node) |
| PASS classList.toggle("a") with attribute value "" (foo node) |
| FAIL classList.toggle("a") with attribute value " " (foo node) assert_equals: wrong class after modification expected "a" but got " a" |
| FAIL classList.toggle("a") with attribute value " \f" (foo node) assert_equals: wrong class after modification expected "a" but got " \fa" |
| 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("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("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("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) |
| FAIL classList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) assert_equals: wrong class after modification expected "a b c" but got "\t\n\f\r a\t\n\f\r b\t\n\f\r c" |
| PASS classList.toggle(null) with attribute value "null" (foo node) |
| PASS classList.toggle(null) with attribute value "" (foo node) |
| PASS classList.toggle(undefined) with attribute value "undefined" (foo node) |
| PASS classList.toggle(undefined) with attribute value "" (foo node) |
| PASS classList.toggle("a", true) with attribute value "" (foo node) |
| PASS classList.toggle("a", true) with attribute value "a" (foo node) |
| PASS classList.toggle("b", true) with attribute value "a" (foo node) |
| PASS classList.toggle("b", true) with attribute value "a b" (foo node) |
| PASS classList.toggle("a", false) with attribute value "" (foo node) |
| PASS classList.toggle("a", false) with attribute value "a" (foo node) |
| PASS classList.toggle("b", false) with attribute value "a" (foo node) |
| PASS classList.toggle("b", false) with attribute value "a b" (foo node) |
| FAIL classList.replace("", "a") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("", " ") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "a") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ta", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\t", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\na", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\n", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\fa", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\f", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("\ra", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a\r", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace(" a", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a ", "b") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace(" ", "") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException SyntaxError: property "code" is equal to undefined, expected 12 |
| FAIL classList.replace("a", " ") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ta") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\t") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\na") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\n") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\fa") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\f") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "\ra") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a\r") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", " a") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("b", "a ") with attribute value null (foo node) assert_throws: function "function () { |
| var list = e.classList; |
| var res = list[funcName].apply(list, args); |
| }" threw object "TypeError: Cannot read property 'apply' of undefined" that is not a DOMException InvalidCharacterError: property "code" is equal to undefined, expected 5 |
| FAIL classList.replace("a", "a") with attribute value "a" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "a" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("A", "b") with attribute value "a" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "A") with attribute value "a b" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("d", "e") with attribute value "a b c" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "a") with attribute value "a a a b" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "d") with attribute value "a a a b" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value null (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value "" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " " (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "b") with attribute value " a \f" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "d") with attribute value "a b c" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "a b c" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("c", "a") with attribute value "c b a" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "a b a" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "a b a" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value " a a b" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value " a a b" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace(null, "b") with attribute value "a null" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", null) with attribute value "a b" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace(undefined, "b") with attribute value "a undefined" (foo node) Cannot read property 'apply' of undefined |
| FAIL classList.replace("a", undefined) with attribute value "a b" (foo node) Cannot read property 'apply' of undefined |
| Harness: the test ran to completion. |
| |