Pass | Original length | Asserts runPass | assert_equals(5, 5)
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:56:3) |
|
Pass | Setting length to original value has no effect | Asserts runPass | assert_equals(5, 5)
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:63:3) | Pass | assert_equals("3", "3")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:64:3) |
|
Pass | Setting length to shorter value | Asserts runPass | assert_equals(3, 3, "Correct length")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:71:3) | Pass | assert_array_equals(["1", "2", "3"], ["1", "2", "3"], "Correct elements remain")
at assert_values_equals ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:52:3) | Pass | assert_equals("3", "3", "Correct value set")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:73:3) | Pass | assert_equals(11, 11, "Correct number of child nodes")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:74:3) |
|
Pass | Setting length to longer value | Asserts runPass | assert_equals(7, 7, "Correct length")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:81:3) | Pass | assert_array_equals(["1", "2", "3", "4", "5", "", ""], ["1", "2", "3", "4", "5", "", ""], "Correct elements inserted")
at assert_values_equals ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:52:3) | Pass | assert_equals("3", "3", "Correct value set")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:83:3) | Pass | assert_equals(15, 15, "Correct number of child nodes")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:84:3) |
|
Pass | Insert <p><option>6</option></p> into <select> | Asserts runPass | assert_equals(5, 5, "Correct length")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:95:3) | Pass | assert_array_equals(["1", "2", "3", "4", "5"], ["1", "2", "3", "4", "5"], "Correct elements inserted")
at assert_values_equals ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:52:3) | Pass | assert_equals("3", "3", "Correct value set")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:97:3) |
|
Pass | Insert <select><option>6</option></select> into <select> | Asserts runPass | assert_equals(5, 5, "Correct length")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:108:3) | Pass | assert_array_equals(["1", "2", "3", "4", "5"], ["1", "2", "3", "4", "5"], "Correct elements inserted")
at assert_values_equals ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:52:3) | Pass | assert_equals("3", "3", "Correct value set")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:110:3) |
|
Pass | Insert <optgroup><option>6</option></optgroup> into <select> | Asserts runPass | assert_equals(6, 6, "Correct length")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:122:3) | Pass | assert_array_equals(["1", "2", "3", "4", "5", "6"], ["1", "2", "3", "4", "5", "6"], "Correct elements inserted")
at assert_values_equals ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:52:3) | Pass | assert_equals("3", "3", "Correct value set")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:124:3) |
|
Pass | Insert <optgroup><optgroup><option>6</option></optgroup></optgroup> into <select> | Asserts runPass | assert_equals(5, 5, "Correct length")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:137:3) | Pass | assert_array_equals(["1", "2", "3", "4", "5"], ["1", "2", "3", "4", "5"], "Correct elements inserted")
at assert_values_equals ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:52:3) | Pass | assert_equals("3", "3", "Correct value set")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:139:3) |
|
Pass | namedItem id attribute | Asserts runPass | assert_equals("1", "1")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:143:3) |
|
Pass | namedItem name attribute | Asserts runPass | assert_equals("2", "2")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:147:3) |
|
Pass | namedItem doesn't match anything | Asserts runPass | assert_equals(null, null)
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:151:3) |
|
Pass | namedItem multiple IDs | Asserts runPass | assert_equals("3", "3")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:155:3) |
|
Pass | namedItem multiple names | Asserts runPass | assert_equals("5", "5")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:159:3) |
|
Pass | namedItem multiple name and ID | Asserts runPass | assert_equals("7", "7")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:163:3) |
|
Pass | namedItem multiple name and ID with multiple attributes | Asserts runPass | assert_equals("9", "9")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:167:3) |
|
Pass | namedItem id attribute multiple attributes one element | Asserts runPass | assert_equals("11", "11")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:171:3) |
|
Pass | namedItem name attribute multiple attributes one element | Asserts runPass | assert_equals("11", "11")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:175:3) |
|
Pass | HTMLOptionsCollection [index] method return the item with index | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:179:3) | Pass | assert_equals("1", "1")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:180:3) |
|
Pass | HTMLOptionsCollection [name] method return the item with name | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:184:3) | Pass | assert_equals("2", "2")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:185:3) |
|
Pass | HTMLOptionsCollection.item(index) method return the item with index | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:189:3) | Pass | assert_equals("1", "1")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:190:3) |
|
Pass | HTMLOptionsCollection.item(name) method return the item with index 0 | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:194:3) | Pass | assert_equals("1", "1")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:195:3) |
|
Pass | HTMLOptionsCollection.add method insert HTMLOptionElement Option element | Asserts runPass | assert_equals("2", "2")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:201:3) |
|
Pass | HTMLOptionsCollection.remove method remove Option element by index | Asserts runPass | assert_equals(11, 11)
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:207:3) |
|
Pass | Add non-option to collection | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() {b_opts.add(add);}")
at Test.<anonymous> ( /html/infrastructure/common-dom-interfaces/collections/htmloptionscollection.html:212:3) |
|