Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassForm associated custom elements should work with document.forms.elements.namedItem()
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:24:3)
Pass
assert_equals(Element node <custom-input id="custom-1" name="alone"></custom-input>, Element node <custom-input id="custom-1" name="alone"></custom-input>, "Single input should be returned as-is")
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:25:3)
Pass
assert_true(true, "Repeated names should result in RadioNodeList")
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:26:3)
Pass
assert_array_equals(object "[object RadioNodeList]", [Element node <custom-input id="custom-2" name="group"></custom-input>, Element node <custom-input id="custom-3" name="group"></custom-input>, Element node <custom-input id="custom-5" name="group" form="custom-for...], "Repeated names should be contained in RadioNodeList, in tree order")
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:30:3)
PassForm associated custom elements should work with document.forms.elements.namedItem() after upgrading
Asserts run
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:35:3)
Pass
assert_equals(Element node <custom-button id="custom-4" name="upgrade"></custom-button>, Element node <custom-button id="custom-4" name="upgrade"></custom-button>, "Single button should be returned after upgrading")
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:39:3)
Pass
assert_array_equals(object "[object RadioNodeList]", [Element node <custom-input id="custom-2" name="group"></custom-input>, Element node <custom-input id="custom-3" name="group"></custom-input>, Element node <custom-input id="custom-5" name="group" form="custom-for..., Element node <custom-button id="custom-6" name="group" form="custom-fo...], "Repeated names should be contained in RadioNodeList, in tree order after upgrading")
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:44:3)
PassForm associated custom elements should work with document.forms.elements.namedItem() after updating the name attribute
Asserts run
Pass
assert_equals(Element node <custom-input id="custom-1" name="alone"></custom-input>, Element node <custom-input id="custom-1" name="alone"></custom-input>, "Single input should be returned as-is")
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:49:3)
Pass
assert_array_equals(object "[object RadioNodeList]", [Element node <custom-input id="custom-2" name="group"></custom-input>, Element node <custom-input id="custom-3" name="group"></custom-input>, Element node <custom-input id="custom-5" name="group" form="custom-for..., Element node <custom-button id="custom-6" name="group" form="custom-fo...], "Repeated names should be contained in RadioNodeList, in tree order after upgrading")
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:54:3)
Pass
assert_equals(undefined, undefined)
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:56:3)
Pass
assert_array_equals(object "[object RadioNodeList]", [Element node <custom-input id="custom-1" name="group"></custom-input>, Element node <custom-input id="custom-2" name="group"></custom-input>, Element node <custom-input id="custom-3" name="group"></custom-input>, Element node <custom-input id="custom-5" name="group" form="custom-for..., Element node <custom-button id="custom-6" name="group" form="custom-fo...], "Repeated names should be contained in RadioNodeList, in tree order after updating name attribute")
    at Test.<anonymous> ( /custom-elements/form-associated/form-elements-namedItem.html:62:3)