Summary

Harness status: OK

Found 1420 tests

Details

ResultTest NameMessage
PassAssigning to classList (HTML node)
Asserts run
Pass
assert_equals(object "foo", object "foo", "classList should be unchanged after assignment")
    at assignToClassList ( /dom/nodes/Element-classlist.html:86:3)
Pass.supports() must throw TypeError (HTML node)
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       e.classList.supports("a");     }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:102:5)
PassclassList.length when removed (HTML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "" (HTML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " \t \f" (HTML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a" (HTML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A" (HTML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "\r\na\t\f" (HTML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a" (HTML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a a a a a" (HTML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a b b" (HTML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A B b" (HTML node)
Asserts run
Pass
assert_equals(4, 4)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a b c c b a a b c c" (HTML node)
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " a a b" (HTML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a\tb\nc\fd\re f" (HTML node)
Asserts run
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.toString() when removed (HTML node)
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to "foo" (HTML node)
Asserts run
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to " a a b" (HTML node)
Asserts run
Pass
assert_equals("   a  a b", "   a  a b")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.item() when set to null (HTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a" (HTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "aa AA aa" (HTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("aa", "aa", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("aa", "aa", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("AA", "AA", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("AA", "AA", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a b" (HTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to " a a b" (HTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.contains("a") when set to null (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("") when set to null (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" ") when set to null (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"  \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("A") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"A\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a.") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a.\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a)") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a)\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a'") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a'\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\"") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a$") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a$\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a~") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a~\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a?") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a?\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\\") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\\\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\t") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\t\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ta") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ta\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\n") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\n\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\na") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\na\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\f") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\f\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\fa") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\fa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\r") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\r\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ra") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ra\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a ") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" a") when set to "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\" a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "aa AA" (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("AA") when set to "aa AA" (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"AA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aA") when set to "aa AA" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a a a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a a a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a a a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a b c" (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a b c" (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(null) when set to "null undefined" (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"null\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "null undefined" (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.add("") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ta") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\t") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\na") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\n") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\fa") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\f") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ra") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\r") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" a") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", true) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", " ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "aa ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("AA") with attribute value "aa" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", true) with attribute value "aa" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a a a b" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a a a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value null (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value null (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " " (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " \f" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " \f" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("b") with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", true) with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value " a a b" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value " a a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " a a b" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " a a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("   a  a b", "   a  a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "e") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d e", "a b c d e", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "a") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "d") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add() with attribute value "a b c a " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(null) with attribute value null (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, true) with attribute value null (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(undefined) with attribute value null (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, true) with attribute value null (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", false) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", false) with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ta") with attribute value "\ta" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", false) with attribute value "\ta" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\t") with attribute value "a\t" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", false) with attribute value "a\t" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\na") with attribute value "\na" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", false) with attribute value "\na" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\n") with attribute value "a\n" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", false) with attribute value "a\n" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\fa") with attribute value "\fa" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", false) with attribute value "\fa" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\f") with attribute value "a\f" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", false) with attribute value "a\f" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ra") with attribute value "\ra" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", false) with attribute value "\ra" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\r") with attribute value "a\r" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", false) with attribute value "a\r" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" a") with attribute value " a" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", false) with attribute value " a" (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a ") with attribute value "a " (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", false) with attribute value "a " (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa ") with attribute value "aa " (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ", false) with attribute value "aa " (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value null (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value null (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", false) with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("A") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A", false) with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value " a a a " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value " a a a " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa") with attribute value "aa aa bb" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa", false) with attribute value "aa aa bb" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b a a c a a" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b a a c a a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("bbb") with attribute value "aaa bbb ccc" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("bbb", false) with attribute value "aaa bbb ccc" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value " a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value " a b c " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b b b c" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b b b c" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value " a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value " a b c " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c c c" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c c c" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b a c a d a" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b a c a d a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", false) with attribute value "AA BB aa CC AA dd aa" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\ra\na\ta\f" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\ra\na\ta\f" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "e") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c", "c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "c") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "a") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "d") with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a b c " (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a a" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(null) with attribute value "null" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, false) with attribute value "null" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(undefined) with attribute value "undefined" (HTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, false) with attribute value "undefined" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value null (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " " (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " \f" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A") with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value " a a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b d", "a b d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a a a " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " A A A " (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("A a", "A a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c b b" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value " a b c " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a b c " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a a b" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "null" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "undefined" (HTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", "a") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", " ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "a") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ta", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\t", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\na", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\n", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\fa", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\f", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ra", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\r", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" a", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a ", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", " ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ta") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\t") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\na") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\n") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\fa") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\f") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ra") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\r") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", " a") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a ") with attribute value null (HTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("A", "b") with attribute value "a" (HTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "A") with attribute value "a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b" (HTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("d", "e") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a a a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "d") with attribute value "a a a b" (HTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value null (HTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "" (HTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " " (HTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(" ", " ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " a \f" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "d") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a d c", "a d c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b c" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "c b a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "a b a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "a b a" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value " a a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value " a a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(null, "b") with attribute value "a null" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", null) with attribute value "a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null b", "null b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(undefined, "b") with attribute value "a undefined" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", undefined) with attribute value "a b" (HTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined b", "undefined b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassAssigning to classList (XHTML node)
Asserts run
Pass
assert_equals(object "foo", object "foo", "classList should be unchanged after assignment")
    at assignToClassList ( /dom/nodes/Element-classlist.html:86:3)
Pass.supports() must throw TypeError (XHTML node)
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       e.classList.supports("a");     }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:102:5)
PassclassList.length when removed (XHTML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "" (XHTML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " \t \f" (XHTML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A" (XHTML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "\r\na\t\f" (XHTML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a" (XHTML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a a a a a" (XHTML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a b b" (XHTML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A B b" (XHTML node)
Asserts run
Pass
assert_equals(4, 4)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a b c c b a a b c c" (XHTML node)
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " a a b" (XHTML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a\tb\nc\fd\re f" (XHTML node)
Asserts run
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.toString() when removed (XHTML node)
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to "foo" (XHTML node)
Asserts run
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to " a a b" (XHTML node)
Asserts run
Pass
assert_equals("   a  a b", "   a  a b")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.item() when set to null (XHTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "aa AA aa" (XHTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("aa", "aa", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("aa", "aa", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("AA", "AA", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("AA", "AA", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a b" (XHTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to " a a b" (XHTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.contains("a") when set to null (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("") when set to null (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" ") when set to null (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"  \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("A") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"A\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a.") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a.\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a)") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a)\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a'") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a'\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\"") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a$") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a$\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a~") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a~\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a?") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a?\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\\") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\\\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\t") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\t\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ta") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ta\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\n") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\n\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\na") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\na\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\f") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\f\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\fa") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\fa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\r") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\r\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ra") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ra\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a ") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" a") when set to "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\" a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "aa AA" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("AA") when set to "aa AA" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"AA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aA") when set to "aa AA" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a a a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a a a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a a a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a b c" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a b c" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(null) when set to "null undefined" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"null\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "null undefined" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.add("") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ta") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\t") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\na") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\n") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\fa") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\f") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ra") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\r") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" a") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", " ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "aa ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("AA") with attribute value "aa" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", true) with attribute value "aa" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a a a b" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a a a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " \f" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " \f" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("b") with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", true) with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value " a a b" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value " a a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " a a b" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " a a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("   a  a b", "   a  a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "e") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d e", "a b c d e", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "a") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "d") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add() with attribute value "a b c a " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(null) with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, true) with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(undefined) with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, true) with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", false) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", false) with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ta") with attribute value "\ta" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", false) with attribute value "\ta" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\t") with attribute value "a\t" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", false) with attribute value "a\t" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\na") with attribute value "\na" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", false) with attribute value "\na" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\n") with attribute value "a\n" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", false) with attribute value "a\n" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\fa") with attribute value "\fa" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", false) with attribute value "\fa" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\f") with attribute value "a\f" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", false) with attribute value "a\f" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ra") with attribute value "\ra" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", false) with attribute value "\ra" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\r") with attribute value "a\r" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", false) with attribute value "a\r" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" a") with attribute value " a" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", false) with attribute value " a" (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a ") with attribute value "a " (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", false) with attribute value "a " (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa ") with attribute value "aa " (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ", false) with attribute value "aa " (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", false) with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("A") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A", false) with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value " a a a " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value " a a a " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa") with attribute value "aa aa bb" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa", false) with attribute value "aa aa bb" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b a a c a a" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b a a c a a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("bbb") with attribute value "aaa bbb ccc" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("bbb", false) with attribute value "aaa bbb ccc" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value " a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value " a b c " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b b b c" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b b b c" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value " a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value " a b c " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c c c" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c c c" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b a c a d a" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b a c a d a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", false) with attribute value "AA BB aa CC AA dd aa" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\ra\na\ta\f" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\ra\na\ta\f" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "e") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c", "c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "c") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "a") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "d") with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a b c " (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a a" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(null) with attribute value "null" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, false) with attribute value "null" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(undefined) with attribute value "undefined" (XHTML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, false) with attribute value "undefined" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " \f" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A") with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value " a a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b d", "a b d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a a a " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " A A A " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("A a", "A a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c b b" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value " a b c " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a b c " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a a b" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "null" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "undefined" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", "a") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", " ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "a") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ta", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\t", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\na", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\n", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\fa", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\f", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ra", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\r", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" a", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a ", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", " ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ta") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\t") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\na") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\n") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\fa") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\f") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ra") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\r") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", " a") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a ") with attribute value null (XHTML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("A", "b") with attribute value "a" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "A") with attribute value "a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("d", "e") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a a a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "d") with attribute value "a a a b" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value null (XHTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "" (XHTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " " (XHTML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(" ", " ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " a \f" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "d") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a d c", "a d c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b c" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "c b a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "a b a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "a b a" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value " a a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value " a a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(null, "b") with attribute value "a null" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", null) with attribute value "a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null b", "null b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(undefined, "b") with attribute value "a undefined" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", undefined) with attribute value "a b" (XHTML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined b", "undefined b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassAssigning to classList (MathML node)
Asserts run
Pass
assert_equals(object "foo", object "foo", "classList should be unchanged after assignment")
    at assignToClassList ( /dom/nodes/Element-classlist.html:86:3)
Pass.supports() must throw TypeError (MathML node)
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       e.classList.supports("a");     }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:102:5)
PassclassList.length when removed (MathML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "" (MathML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " \t \f" (MathML node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a" (MathML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A" (MathML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "\r\na\t\f" (MathML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a" (MathML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a a a a a" (MathML node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a b b" (MathML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A B b" (MathML node)
Asserts run
Pass
assert_equals(4, 4)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a b c c b a a b c c" (MathML node)
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " a a b" (MathML node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a\tb\nc\fd\re f" (MathML node)
Asserts run
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.toString() when removed (MathML node)
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to "foo" (MathML node)
Asserts run
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to " a a b" (MathML node)
Asserts run
Pass
assert_equals("   a  a b", "   a  a b")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.item() when set to null (MathML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a" (MathML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "aa AA aa" (MathML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("aa", "aa", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("aa", "aa", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("AA", "AA", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("AA", "AA", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a b" (MathML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to " a a b" (MathML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.contains("a") when set to null (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("") when set to null (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" ") when set to null (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"  \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("A") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"A\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a.") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a.\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a)") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a)\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a'") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a'\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\"") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a$") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a$\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a~") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a~\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a?") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a?\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\\") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\\\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\t") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\t\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ta") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ta\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\n") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\n\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\na") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\na\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\f") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\f\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\fa") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\fa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\r") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\r\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ra") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ra\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a ") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" a") when set to "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\" a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "aa AA" (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("AA") when set to "aa AA" (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"AA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aA") when set to "aa AA" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a a a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a a a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a a a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a b c" (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a b c" (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(null) when set to "null undefined" (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"null\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "null undefined" (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.add("") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ta") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\t") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\na") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\n") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\fa") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\f") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ra") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\r") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" a") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", true) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", " ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "aa ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("AA") with attribute value "aa" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", true) with attribute value "aa" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a a a b" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a a a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value null (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value null (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " " (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " \f" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " \f" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("b") with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", true) with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value " a a b" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value " a a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " a a b" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " a a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("   a  a b", "   a  a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "e") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d e", "a b c d e", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "a") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "d") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add() with attribute value "a b c a " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(null) with attribute value null (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, true) with attribute value null (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(undefined) with attribute value null (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, true) with attribute value null (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", false) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", false) with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ta") with attribute value "\ta" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", false) with attribute value "\ta" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\t") with attribute value "a\t" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", false) with attribute value "a\t" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\na") with attribute value "\na" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", false) with attribute value "\na" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\n") with attribute value "a\n" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", false) with attribute value "a\n" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\fa") with attribute value "\fa" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", false) with attribute value "\fa" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\f") with attribute value "a\f" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", false) with attribute value "a\f" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ra") with attribute value "\ra" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", false) with attribute value "\ra" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\r") with attribute value "a\r" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", false) with attribute value "a\r" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" a") with attribute value " a" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", false) with attribute value " a" (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a ") with attribute value "a " (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", false) with attribute value "a " (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa ") with attribute value "aa " (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ", false) with attribute value "aa " (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value null (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value null (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", false) with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("A") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A", false) with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value " a a a " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value " a a a " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa") with attribute value "aa aa bb" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa", false) with attribute value "aa aa bb" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b a a c a a" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b a a c a a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("bbb") with attribute value "aaa bbb ccc" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("bbb", false) with attribute value "aaa bbb ccc" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value " a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value " a b c " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b b b c" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b b b c" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value " a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value " a b c " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c c c" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c c c" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b a c a d a" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b a c a d a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", false) with attribute value "AA BB aa CC AA dd aa" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\ra\na\ta\f" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\ra\na\ta\f" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "e") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c", "c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "c") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "a") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "d") with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a b c " (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a a" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(null) with attribute value "null" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, false) with attribute value "null" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(undefined) with attribute value "undefined" (MathML node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, false) with attribute value "undefined" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value null (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " " (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " \f" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A") with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value " a a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b d", "a b d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a a a " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " A A A " (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("A a", "A a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c b b" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value " a b c " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a b c " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a a b" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "null" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "undefined" (MathML node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", "a") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", " ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "a") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ta", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\t", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\na", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\n", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\fa", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\f", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ra", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\r", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" a", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a ", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", " ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ta") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\t") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\na") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\n") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\fa") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\f") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ra") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\r") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", " a") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a ") with attribute value null (MathML node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("A", "b") with attribute value "a" (MathML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "A") with attribute value "a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b" (MathML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("d", "e") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a a a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "d") with attribute value "a a a b" (MathML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value null (MathML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "" (MathML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " " (MathML node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(" ", " ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " a \f" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "d") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a d c", "a d c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b c" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "c b a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "a b a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "a b a" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value " a a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value " a a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(null, "b") with attribute value "a null" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", null) with attribute value "a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null b", "null b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(undefined, "b") with attribute value "a undefined" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", undefined) with attribute value "a b" (MathML node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined b", "undefined b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassAssigning to classList (XML node with null namespace)
Asserts run
Pass
assert_equals(object "foo", object "foo", "classList should be unchanged after assignment")
    at assignToClassList ( /dom/nodes/Element-classlist.html:86:3)
Pass.supports() must throw TypeError (XML node with null namespace)
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       e.classList.supports("a");     }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:102:5)
PassclassList.length when removed (XML node with null namespace)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "" (XML node with null namespace)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " \t \f" (XML node with null namespace)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A" (XML node with null namespace)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "\r\na\t\f" (XML node with null namespace)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a" (XML node with null namespace)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a a a a a" (XML node with null namespace)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a b b" (XML node with null namespace)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A B b" (XML node with null namespace)
Asserts run
Pass
assert_equals(4, 4)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a b c c b a a b c c" (XML node with null namespace)
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a\tb\nc\fd\re f" (XML node with null namespace)
Asserts run
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.toString() when removed (XML node with null namespace)
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to "foo" (XML node with null namespace)
Asserts run
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals("   a  a b", "   a  a b")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.item() when set to null (XML node with null namespace)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "aa AA aa" (XML node with null namespace)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("aa", "aa", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("aa", "aa", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("AA", "AA", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("AA", "AA", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.contains("a") when set to null (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("") when set to null (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" ") when set to null (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"  \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("A") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"A\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a.") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a.\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a)") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a)\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a'") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a'\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\"") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a$") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a$\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a~") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a~\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a?") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a?\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\\") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\\\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\t") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\t\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ta") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ta\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\n") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\n\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\na") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\na\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\f") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\f\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\fa") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\fa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\r") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\r\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ra") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ra\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a ") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" a") when set to "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\" a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "aa AA" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("AA") when set to "aa AA" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"AA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aA") when set to "aa AA" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a a a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a a a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a a a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(null) when set to "null undefined" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"null\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "null undefined" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.add("") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ta") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\t") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\na") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\n") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\fa") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\f") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ra") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\r") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" a") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", " ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "aa ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("AA") with attribute value "aa" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", true) with attribute value "aa" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " " (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " \f" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " \f" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("b") with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", true) with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("   a  a b", "   a  a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "e") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d e", "a b c d e", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "a") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "d") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add() with attribute value "a b c a " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(null) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(undefined) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, true) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", false) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", false) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ta") with attribute value "\ta" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", false) with attribute value "\ta" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\t") with attribute value "a\t" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", false) with attribute value "a\t" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\na") with attribute value "\na" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", false) with attribute value "\na" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\n") with attribute value "a\n" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", false) with attribute value "a\n" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\fa") with attribute value "\fa" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", false) with attribute value "\fa" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\f") with attribute value "a\f" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", false) with attribute value "a\f" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ra") with attribute value "\ra" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", false) with attribute value "\ra" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\r") with attribute value "a\r" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", false) with attribute value "a\r" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" a") with attribute value " a" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", false) with attribute value " a" (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a ") with attribute value "a " (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", false) with attribute value "a " (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa ") with attribute value "aa " (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ", false) with attribute value "aa " (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", false) with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("A") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A", false) with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value " a a a " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value " a a a " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa") with attribute value "aa aa bb" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa", false) with attribute value "aa aa bb" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b a a c a a" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b a a c a a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("bbb") with attribute value "aaa bbb ccc" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("bbb", false) with attribute value "aaa bbb ccc" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value " a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value " a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b b b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b b b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value " a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value " a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c c c" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c c c" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b a c a d a" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b a c a d a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", false) with attribute value "AA BB aa CC AA dd aa" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\ra\na\ta\f" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\ra\na\ta\f" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "e") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c", "c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "c") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "a") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "d") with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a a" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(null) with attribute value "null" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, false) with attribute value "null" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(undefined) with attribute value "undefined" (XML node with null namespace)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, false) with attribute value "undefined" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " " (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " \f" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A") with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b d", "a b d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a a a " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " A A A " (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("A a", "A a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c b b" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value " a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a b c " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "null" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "undefined" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", "a") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", " ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "a") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ta", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\t", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\na", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\n", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\fa", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\f", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ra", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\r", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" a", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a ", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", " ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ta") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\t") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\na") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\n") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\fa") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\f") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ra") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\r") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", " a") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a ") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("A", "b") with attribute value "a" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "A") with attribute value "a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("d", "e") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "d") with attribute value "a a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value null (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "" (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " " (XML node with null namespace)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(" ", " ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " a \f" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "d") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a d c", "a d c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b c" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "c b a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "a b a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "a b a" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value " a a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.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)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.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)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(null, "b") with attribute value "a null" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", null) with attribute value "a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null b", "null b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(undefined, "b") with attribute value "a undefined" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", undefined) with attribute value "a b" (XML node with null namespace)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined b", "undefined b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassAssigning to classList (foo node)
Asserts run
Pass
assert_equals(object "foo", object "foo", "classList should be unchanged after assignment")
    at assignToClassList ( /dom/nodes/Element-classlist.html:86:3)
Pass.supports() must throw TypeError (foo node)
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       e.classList.supports("a");     }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:102:5)
PassclassList.length when removed (foo node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "" (foo node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " \t \f" (foo node)
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a" (foo node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A" (foo node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "\r\na\t\f" (foo node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a" (foo node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a a a a a" (foo node)
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a a b b" (foo node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a A B b" (foo node)
Asserts run
Pass
assert_equals(4, 4)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a b c c b a a b c c" (foo node)
Asserts run
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to " a a b" (foo node)
Asserts run
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.length when set to "a\tb\nc\fd\re f" (foo node)
Asserts run
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:112:7)
PassclassList.toString() when removed (foo node)
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to "foo" (foo node)
Asserts run
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.toString() when set to " a a b" (foo node)
Asserts run
Pass
assert_equals("   a  a b", "   a  a b")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:136:7)
PassclassList.item() when set to null (foo node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a" (foo node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "aa AA aa" (foo node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("aa", "aa", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("aa", "aa", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("AA", "AA", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("AA", "AA", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "a b" (foo node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to " a a b" (foo node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.item() when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(null, null, "classList.item(-1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[-1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("a", "a", "classList.item(0)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("a", "a", "classList[0]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals("b", "b", "classList.item(1)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals("b", "b", "classList[1]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(2)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[2]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967295)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967295]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
Pass
assert_equals(null, null, "classList.item(4294967294)")
    at checkItemFunction ( /dom/nodes/Element-classlist.html:149:7)
Pass
assert_equals(undefined, undefined, "classList[4294967294]")
    at checkItemArray ( /dom/nodes/Element-classlist.html:154:7)
PassclassList.contains("a") when set to null (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("") when set to null (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" ") when set to null (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"  \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a" (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("A") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"A\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a.") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a.\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a)") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a)\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a'") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a'\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\"") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\"\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a$") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a$\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a~") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a~\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a?") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a?\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\\") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\\\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\t") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\t\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ta") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ta\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\n") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\n\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\na") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\na\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\f") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\f\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\fa") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\fa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a\r") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a\r\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("\ra") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"\ra\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a ") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"a \")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(" a") when set to "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\" a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "aa AA" (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("AA") when set to "aa AA" (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"AA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aA") when set to "aa AA" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aA\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a a a" (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("aa") when set to "a a a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"aa\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a a a" (foo node)
Asserts run
Pass
assert_equals(false, false, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "a b c" (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "a b c" (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(null) when set to "null undefined" (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"null\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains(undefined) when set to "null undefined" (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"undefined\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("a") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"a\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.contains("b") when set to "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(true, true, "classList.contains(\"b\")")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:197:9)
PassclassList.add("") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ta") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\t") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\na") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\n") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\fa") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\f") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("\ra") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a\r") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(" a") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", true) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", " ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "aa ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("AA") with attribute value "aa" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", true) with attribute value "aa" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aa AA", "aa AA", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "a a a b" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "a a a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value null (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value null (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value "" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value "" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " " (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " \f" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " \f" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("b") with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", true) with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", true) with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value " a a b" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value " a a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a") with attribute value " a a b" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", true) with attribute value " a a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("   a  a b", "   a  a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", true) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "e") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d e", "a b c d e", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "a") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("d", "d") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add() with attribute value "a b c a " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value null (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add("a", "b") with attribute value "" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(null) with attribute value null (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, true) with attribute value null (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.add(undefined) with attribute value null (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, true) with attribute value null (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("", false) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" ", false) with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ta") with attribute value "\ta" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ta", false) with attribute value "\ta" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ta", "\ta", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\t") with attribute value "a\t" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\t", false) with attribute value "a\t" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\t", "a\t", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\na") with attribute value "\na" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\na", false) with attribute value "\na" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\na", "\na", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\n") with attribute value "a\n" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\n", false) with attribute value "a\n" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\n", "a\n", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\fa") with attribute value "\fa" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\fa", false) with attribute value "\fa" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\fa", "\fa", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\f") with attribute value "a\f" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\f", false) with attribute value "a\f" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\f", "a\f", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("\ra") with attribute value "\ra" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("\ra", false) with attribute value "\ra" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("\ra", "\ra", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a\r") with attribute value "a\r" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a\r", false) with attribute value "a\r" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a\r", "a\r", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(" a") with attribute value " a" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(" a", false) with attribute value " a" (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(" a", " a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a ") with attribute value "a " (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a ", false) with attribute value "a " (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("a ", "a ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa ") with attribute value "aa " (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ", false) with attribute value "aa " (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals("aa ", "aa ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value null (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value null (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d", false) with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("A") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A", false) with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b  c", "a b  c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value " a a a " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value " a a a " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("aa") with attribute value "aa aa bb" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa", false) with attribute value "aa aa bb" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("bb", "bb", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a a b a a c a a" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a a b a a c a a" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("bbb") with attribute value "aaa bbb ccc" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("bbb", false) with attribute value "aaa bbb ccc" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("aaa ccc", "aaa ccc", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value " a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value " a b c " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("b") with attribute value "a b b b c" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b", false) with attribute value "a b b b c" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value " a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value " a b c " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("c") with attribute value "a b c c c" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c", false) with attribute value "a b c c c" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "a b a c a d a" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "a b a c a d a" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c d", "b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("AA") with attribute value "AA BB aa CC AA dd aa" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("AA", false) with attribute value "AA BB aa CC AA dd aa" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("BB aa CC dd", "BB aa CC dd", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\ra\na\ta\f" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\ra\na\ta\f" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a", false) with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "e") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c", "c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "c") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "a") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("d", "d") with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a b c " (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value null (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove("a", "b") with attribute value "" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove() with attribute value "a a" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(null) with attribute value "null" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null, false) with attribute value "null" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.remove(undefined) with attribute value "undefined" (foo node)
Asserts run
Pass
assert_equals(undefined, undefined, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined, false) with attribute value "undefined" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("aa ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value null (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " " (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " \f" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("A") with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c d", "a b c d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("d") with attribute value " a a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b d", "a b d", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a a a " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " A A A " (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("A a", "A a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a b c b b" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value " a b c " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value " a b c " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b c", "b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("b") with attribute value " a a b" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("a") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle("c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "null" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(null) with attribute value "" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null", "null", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "undefined" (foo node)
Asserts run
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.toggle(undefined) with attribute value "" (foo node)
Asserts run
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined", "undefined", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", "a") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("", " ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "a") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ta", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\t", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\na", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\n", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\fa", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\f", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("\ra", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a\r", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" a", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a ", "b") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(" ", "") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", " ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ta") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\t") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\na") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\n") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\fa") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\f") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "\ra") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a\r") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", " a") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "a ") with attribute value null (foo node)
Asserts run
Pass
assert_throws_dom("InvalidCharacterError", function "function() {         var list = e.classList;         var res = list[funcName].apply(list, args);       }")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:42:7)
Pass
assert_equals(0, 0, "There should have been no mutation")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:54:9)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("A", "b") with attribute value "a" (foo node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a", "a", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "A") with attribute value "a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a A", "a A", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b" (foo node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("d", "e") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b c", "a b c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "a") with attribute value "a a a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "d") with attribute value "a a a b" (foo node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a a a  b", "a a a  b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value null (foo node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(null, null, "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value "" (foo node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("", "", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " " (foo node)
Asserts run
Pass
assert_equals(false, false, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(false, false, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals(" ", " ", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "b") with attribute value " a \f" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("b", "b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "d") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a d c", "a d c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "a b c" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("c", "a") with attribute value "c b a" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "a b a" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "a b a" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value " a a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value " a a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("c b", "c b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("b", "c") with attribute value "\t\n\f\r a\t\n\f\r b\t\n\f\r " (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a c", "a c", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(null, "b") with attribute value "a null" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", null) with attribute value "a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("null b", "null b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace(undefined, "b") with attribute value "a undefined" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("a b", "a b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)
PassclassList.replace("a", undefined) with attribute value "a b" (foo node)
Asserts run
Pass
assert_equals(true, true, "Should have a mutation exactly when replace() returns true")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:57:9)
Pass
assert_equals(true, true, "wrong return value")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:66:7)
Pass
assert_equals("undefined b", "undefined b", "wrong class after modification")
    at Test.<anonymous> ( /dom/nodes/Element-classlist.html:71:5)