blob: 84ef9f0043efab57709cbaea0c651f6c8bbe26d1 [file] [log] [blame]
This test checks that we correctly update the touch event handler count when an Input element with default touch handlers changes documents.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.internals.touchEventHandlerCount() is 0
PASS window.internals.touchEventHandlerCount() is 0
PASS window.internals.touchEventHandlerCount() is 2
PASS window.internals.touchEventHandlerCount() is 3
PASS window.internals.touchEventHandlerCount() is 2
PASS window.internals.touchEventHandlerCount() is 0