Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassElementInternals.form should return the target element's form owner
Asserts run
Pass
assert_equals(Element node <form id="custom-form">   <custom-input-parser id="custom..., Element node <form id="custom-form">   <custom-input-parser id="custom...)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-form.html:30:3)
Pass
assert_equals(Element node <form id="custom-form">   <custom-input-parser id="custom..., Element node <form id="custom-form">   <custom-input-parser id="custom...)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-form.html:31:3)
Pass
assert_equals(Element node <form id="custom-form">   <custom-input-parser id="custom..., Element node <form id="custom-form">   <custom-input-parser id="custom...)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-form.html:42:3)
Pass
assert_equals(Element node <form id="custom-form">   <custom-input-parser id="custom..., Element node <form id="custom-form">   <custom-input-parser id="custom...)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-form.html:43:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-form.html:47:3)
Pass
assert_equals(Element node <form id="custom-form">   <custom-input-parser id="custom..., Element node <form id="custom-form">   <custom-input-parser id="custom...)
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-form.html:49:3)
PassElementInternals.form should throws NotSupportedError if the target element is not a form-associated custom element
Asserts run
Pass
assert_throws_dom("NotSupportedError", function "() => i.form")
    at Test.<anonymous> ( /custom-elements/form-associated/ElementInternals-form.html:57:3)