html/infrastructure/common-dom-interfaces/collections/

70 / 104 WPT subtests passing

Failed
34
Timed out
0
Not run
0
Test files
7
Blocking files
0

Chrome none reported WPT subtests passing on the same files, none blocking, 7 without a result

Tests

7 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
detached-root-gc.html11 / 11 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
11 passing subtests
  1. form.elements
  2. fieldset.elements
  3. select.options
  4. select.selectedOptions
  5. datalist.options
  6. table.tBodies
  7. table.rows
  8. tbody.rows
  9. tr.cells
  10. map.areas
  11. input.labels
domstringlist.html4 / 4 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
4 passing subtests
  1. DOMStringList: length attribute
  2. DOMStringList: item() method
  3. DOMStringList: indexed getter
  4. DOMStringList: contains() method
historical.html2 / 3 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILHTMLAllCollection legacycaller with two arguments should not be supported
    This feature is not yet implemented
2 passing subtests
  1. HTMLFormControlsCollection legacycaller should not be supported
  2. HTMLOptionsCollection legacycaller should not be supported
htmlallcollection.html8 / 41 passingChrome —33 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILlength attribute
    assert_equals: expected (number) 25 but got (undefined) undefined
  2. FAILindexed property getter
    assert_equals: expected (object) Element node <html id="root"><head>
    <title>HTMLAllCollection Tests</ti... but got (undefined) undefined
  3. FAILindexed property getter out of range
    assert_equals: expected (object) Element node <div id="4294967295"></div> but got (undefined) undefined
  4. FAILnamed property getter
    assert_equals: expected (object) Element node <html id="root"><head>
    <title>HTMLAllCollection Tests</ti... but got (undefined) undefined
  5. FAILnamed property getter with dot syntax
    assert_equals: expected (object) Element node <html id="root"><head>
    <title>HTMLAllCollection Tests</ti... but got (undefined) undefined
  6. FAILnamed property getter returning collection
    Cannot read properties of undefined (reading 'length')
  7. FAILnamed property getter with "array index property name"
    assert_equals: expected (object) Element node <html id="root"><head>
    <title>HTMLAllCollection Tests</ti... but got (undefined) undefined
  8. FAILnamed property getter with invalid "array index property name"
    assert_equals: expected (object) Element node <span id="043"></span> but got (undefined) undefined
  9. FAILnamed property getter with undefined
    assert_equals: expected (object) Element node <div id="undefined"></div> but got (undefined) undefined
  10. FAILnamed property getter with null
    assert_equals: expected (object) Element node <div id="null"></div> but got (undefined) undefined
  11. FAILnamedItem method
    This feature is not yet implemented
  12. FAILnamedItem method with invalid name
    This feature is not yet implemented
  13. FAILnamedItem method returning collection
    This feature is not yet implemented
  14. FAILnamedItem method with "array index property name"
    This feature is not yet implemented
  15. FAILnamedItem method with invalid "array index property name"
    This feature is not yet implemented
  16. FAILnamedItem method with undefined
    This feature is not yet implemented
  17. FAILnamedItem method with null
    This feature is not yet implemented
  18. FAILlegacy caller
    This feature is not yet implemented
  19. FAILlegacy caller with invalid name
    This feature is not yet implemented
  20. FAILlegacy caller returning collection
    This feature is not yet implemented
  21. FAILlegacy caller with "array index property name"
    This feature is not yet implemented
  22. FAILlegacy caller with "array index property name" as number
    This feature is not yet implemented
  23. FAILlegacy caller with invalid "array index property name"
    This feature is not yet implemented
  24. FAILlegacy caller with null
    This feature is not yet implemented
  25. FAILlegacy caller with arbitrary this value
    This feature is not yet implemented
  26. FAILitem method
    This feature is not yet implemented
  27. FAILitem method with invalid name
    This feature is not yet implemented
  28. FAILitem method returning collection
    This feature is not yet implemented
  29. FAILitem method with "array index property name"
    This feature is not yet implemented
  30. FAILitem method with "array index property name" as number
    This feature is not yet implemented
  31. FAILitem method with invalid "array index property name"
    This feature is not yet implemented
  32. FAILitem method with null
    This feature is not yet implemented
  33. FAILcollections are new live HTMLCollection instances
    This feature is not yet implemented
8 passing subtests
  1. document.all is an HTMLAllCollection
  2. named property getter with invalid name
  3. namedItem method with no argument
  4. legacy caller with undefined
  5. legacy caller with no argument
  6. legacy caller is not a constructor
  7. item method with undefined
  8. item method with no argument
htmlformcontrolscollection.html16 / 16 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
16 passing subtests
  1. The length attribute must return the number of elements in the form
  2. HTMLFormControlsCollection.item(index) must return the indexed item
  3. HTMLFormControlsCollection[index] must return the indexed item
  4. HTMLFormControlsCollection is not callable
  5. HTMLFormControlsCollection[name] must return the named item
  6. HTMLFormControlsCollection.namedItem(name) must return the named item
  7. The namedItem(name) must return an Element
  8. The namedItem(name) must return RadioNodeList
  9. The namedItem(name) must return null if the name is empty
  10. The namedItem(name) must return null if there is no matched element
  11. Controls can be indexed by id or name attribute
  12. Keygen controls do not show up at all
  13. The namedItem(name) must return the items with id or name attribute
  14. The HTMLFormControlsCollection interface is used for collections of listed elements in form element
  15. The HTMLFormControlsCollection interface is used for collections of listed elements in fieldset element
  16. The controls in the form element must be sorted in tree order
htmloptionscollection.html24 / 24 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
24 passing subtests
  1. Original length
  2. Setting length to original value has no effect
  3. Setting length to shorter value
  4. Setting length to longer value
  5. Insert <p><option>6</option></p> into <select>
  6. Insert <select><option>6</option></select> into <select>
  7. Insert <optgroup><option>6</option></optgroup> into <select>
  8. Insert <optgroup><optgroup><option>6</option></optgroup></optgroup> into <select>
  9. namedItem id attribute
  10. namedItem name attribute
  11. namedItem doesn't match anything
  12. namedItem multiple IDs
  13. namedItem multiple names
  14. namedItem multiple name and ID
  15. namedItem multiple name and ID with multiple attributes
  16. namedItem id attribute multiple attributes one element
  17. namedItem name attribute multiple attributes one element
  18. HTMLOptionsCollection [index] method return the item with index
  19. HTMLOptionsCollection [name] method return the item with name
  20. HTMLOptionsCollection.item(index) method return the item with index
  21. HTMLOptionsCollection.item(name) method return the item with index 0
  22. HTMLOptionsCollection.add method insert HTMLOptionElement Option element
  23. HTMLOptionsCollection.remove method remove Option element by index
  24. Add non-option to collection
radionodelist.html5 / 5 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
5 passing subtests
  1. The value attribute should be empty if no element is checked
  2. The RadioNodeList.value must be the first checked radio button's value
  3. Check the RadioNodeList.value on getting
  4. Check the RadioNodeList.value on setting
  5. Check the RadioNodeList.value on setting to 'on'

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.