(event) {
                    detected_pointertypes[ event.pointerType ] = true;
                });

                // When a pointing device is moved off of the hit test boundaries of an element and all of its descendants, the pointerleave event must be dispatched.
                // TA: 9.1
                on_event(target0, "pointerleave", function (event) {
                    // Make sure the test finishes after all the input actions are completed.
                    actions_promise.then( () => {
   