Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassElement-getElementsByTagName-change-document-HTMLNess
Asserts run
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <a>xhtml:a</a>, Element node <A>A</A>], "In an HTML document, should lowercase the tagname passed in for HTML elements only")
    at onload ( /dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:26:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <a>xhtml:a</a>, Element node <A>A</A>], "After changing document, should still be lowercasing for HTML")
    at onload ( /dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:31:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <A>xhtml:A</A>, Element node <A>A</A>], "New list with same root and argument should not be lowercasing now")
    at onload ( /dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:34:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <a>xhtml:a</a>, Element node <A>A</A>], "After blowing away caches, should still have the same list")
    at onload ( /dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:43:5)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <A>xhtml:A</A>, Element node <A>A</A>], "New list with same root and argument should still not be lowercasing")
    at onload ( /dom/nodes/Element-getElementsByTagName-change-document-HTMLNess.html:46:5)