Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Failwhen reparenting an element, don't automatically reset the document focusnew_parent.moveBefore is not a function
TypeError: new_parent.moveBefore is not a function
    at Test.<anonymous> (https://wpt.live/dom/nodes/moveBefore/focus-preserve.html:34:16)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/dom/nodes/moveBefore/focus-preserve.html:28:1
Asserts run
Pass
assert_equals(Element node <button id="button" tabindex="1">Button</button>, Element node <button id="button" tabindex="1">Button</button>)
    at Test.<anonymous> ( /dom/nodes/moveBefore/focus-preserve.html:33:5)
Failwhen reparenting a focused element into an inert parent, reset the document focuspromise_test: Unhandled rejection with value: object "TypeError: inert_parent.moveBefore is not a function"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:2689:35
Asserts run
Pass
assert_equals(Element node <button id="button" tabindex="1">Button</button>, Element node <button id="button" tabindex="1">Button</button>)
    at Test.<anonymous> ( /dom/nodes/moveBefore/focus-preserve.html:44:5)
Failwhen reparenting a focused element into a hidden parent, reset the document focuspromise_test: Unhandled rejection with value: object "TypeError: hidden_parent.moveBefore is not a function"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:2689:35
Asserts run
Pass
assert_equals(Element node <button id="button" tabindex="1">Button</button>, Element node <button id="button" tabindex="1">Button</button>)
    at Test.<anonymous> ( /dom/nodes/moveBefore/focus-preserve.html:60:5)
Failwhen reparenting an ancestor of an focused element into a hidden parent, reset the document focuspromise_test: Unhandled rejection with value: object "TypeError: hidden_parent.moveBefore is not a function"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:2689:35
Asserts run
Pass
assert_equals(Element node <button id="button" tabindex="1">Button</button>, Element node <button id="button" tabindex="1">Button</button>)
    at Test.<anonymous> ( /dom/nodes/moveBefore/focus-preserve.html:77:5)