Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassRequired arguments to createTreeWalker should be required.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     document.createTreeWalker();   }")
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:9:3)
PassOptional arguments to createTreeWalker should be optional (1 passed).
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 1 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 1 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:15:3)
Pass
assert_equals(Element node <body><div id="log">Running, 1 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 1 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:16:3)
Pass
assert_equals(4294967295, 4294967295)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:17:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:18:3)
PassOptional arguments to createTreeWalker should be optional (2 passed).
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 2 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 2 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:22:3)
Pass
assert_equals(Element node <body><div id="log">Running, 2 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 2 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:23:3)
Pass
assert_equals(42, 42)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:24:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:25:3)
PassOptional arguments to createTreeWalker should be optional (3 passed, null).
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 3 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 3 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:29:3)
Pass
assert_equals(Element node <body><div id="log">Running, 3 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 3 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:30:3)
Pass
assert_equals(42, 42)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:31:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:32:3)
PassOptional arguments to createTreeWalker should be optional (3 passed, function).
Asserts run
Pass
assert_equals(Element node <body><div id="log">Running, 4 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 4 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:37:3)
Pass
assert_equals(Element node <body><div id="log">Running, 4 complete, 1 remain</div> <..., Element node <body><div id="log">Running, 4 complete, 1 remain</div> <...)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:38:3)
Pass
assert_equals(42, 42)
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:39:3)
Pass
assert_equals(function "function() {}", function "function() {}")
    at Test.<anonymous> ( /dom/nodes/Document-createTreeWalker.html:40:3)