mouse-event-delivery-expected.txt 1.67 KB
Newer Older
1 2 3 4 5
Test mouse events are routed to lock target.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


6 7 8
PASS document.onwebkitpointerlockchange event received.
PASS document.webkitPointerLockElement is targetdiv1
     With a lock in place send a click.
9 10
PASS event type: mousedown, target: target1, received on: target1
PASS event type: mousedown, target: target1, received on: body
11 12 13
PASS document.onwebkitpointerlockchange event received.
PASS document.webkitPointerLockElement is targetdiv2
     With a lock in place send a click.
14 15
PASS event type: mousedown, target: target2, received on: target2
PASS event type: mousedown, target: target2, received on: body
16 17
     Ensure double clicks work as expected, sending 4 clicks.
     Creating a click and dblclick.
18 19 20 21 22 23 24
PASS event type: mousedown, target: target2, received on: target2
PASS event type: mouseup, target: target2, received on: target2
PASS event type: click, target: target2, received on: target2
PASS event type: mousedown, target: target2, received on: target2
PASS event type: mouseup, target: target2, received on: target2
PASS event type: click, target: target2, received on: target2
PASS event type: dblclick, target: target2, received on: target2
25
     Ensuring no false dblclicks if we continue.
26 27 28 29 30 31 32 33 34 35
PASS event type: mousedown, target: target2, received on: target2
PASS event type: mouseup, target: target2, received on: target2
PASS event type: click, target: target2, received on: target2
PASS event type: mousedown, target: target2, received on: target2
PASS event type: mouseup, target: target2, received on: target2
PASS event type: click, target: target2, received on: target2
PASS successfullyParsed is true

TEST COMPLETE