Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
Passdocument.images should contain all HTML img elements
Asserts run
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:37:3)
Pass
assert_array_equals(object "[object HTMLCollection]", [Element node <img></img>, Element node <img id="x"></img>, Element node <img name="y"></img>, Element node <img id="z1" name="z2"></img>, Element node <img id="a"></img>, Element node <img id="a"></img>, Element node <img name="b"></img>, Element node <img name="b"></img>, Element node <img id=""></img>, Element node <img name=""></img>])
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:38:3)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at  /html/dom/documents/dom-tree-accessors/document.images.html:41:5
Passimg with id
Asserts run
Pass
assert_equals(Element node <img id="x"></img>, Element node <img id="x"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:46:3)
Pass
assert_equals(Element node <img id="x"></img>, Element node <img id="x"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:47:3)
Pass
assert_true(true, "\"x\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:48:3)
Passimg with name
Asserts run
Pass
assert_equals(Element node <img name="y"></img>, Element node <img name="y"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:52:3)
Pass
assert_equals(Element node <img name="y"></img>, Element node <img name="y"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:53:3)
Pass
assert_true(true, "\"y\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:54:3)
Passimg with id and name
Asserts run
Pass
assert_equals(Element node <img id="z1" name="z2"></img>, Element node <img id="z1" name="z2"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:58:3)
Pass
assert_equals(Element node <img id="z1" name="z2"></img>, Element node <img id="z1" name="z2"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:59:3)
Pass
assert_true(true, "\"z1\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:60:3)
Pass
assert_equals(Element node <img id="z1" name="z2"></img>, Element node <img id="z1" name="z2"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:61:3)
Pass
assert_equals(Element node <img id="z1" name="z2"></img>, Element node <img id="z1" name="z2"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:62:3)
Pass
assert_true(true, "\"z2\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:63:3)
PassTwo img elements with the same id
Asserts run
Pass
assert_equals(Element node <img id="a"></img>, Element node <img id="a"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:67:3)
Pass
assert_equals(Element node <img id="a"></img>, Element node <img id="a"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:68:3)
Pass
assert_true(true, "\"a\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:69:3)
PassTwo img elements with the same name
Asserts run
Pass
assert_equals(Element node <img name="b"></img>, Element node <img name="b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:73:3)
Pass
assert_equals(Element node <img name="b"></img>, Element node <img name="b"></img>)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:74:3)
Pass
assert_true(true, "\"b\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:75:3)
PassUnknown name should not be in the collection
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:79:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:80:3)
Pass
assert_false(false, "\"c\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:81:3)
PassForeign element should not be in the collection
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:85:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:86:3)
Pass
assert_false(false, "\"f\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:87:3)
PassInput elements should not be in the collection
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:91:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:92:3)
Pass
assert_false(false, "\"input\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:93:3)
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
Pass
assert_not_equals("http://www.w3.org/1999/xhtml", Element node <input type="image" name="input"></input>)
    at  /html/dom/documents/dom-tree-accessors/document.images.html:96:5
PassThe empty string should not be in the collections
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:101:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:102:3)
Pass
assert_false(false, "\"\" in c")
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:103:3)
PassDocument.images should be a live collection
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:109:3)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:110:3)
Pass
assert_equals(11, 11)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:114:3)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /html/dom/documents/dom-tree-accessors/document.images.html:117:3)