1 Test mouse events are routed to lock target.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS document.onpointerlockchange event received.
7 PASS document.pointerLockElement is targetdiv1
8 With a lock in place send a click.
9 PASS event type: mousedown, target: target1, received on: target1
10 PASS event type: mousedown, target: target1, received on: body
11 PASS document.onpointerlockchange event received.
12 PASS document.pointerLockElement is targetdiv2
13 With a lock in place send a click.
14 PASS event type: mousedown, target: target2, received on: target2
15 PASS event type: mousedown, target: target2, received on: body
16 Ensure double clicks work as expected, sending 4 clicks.
17 Creating a click and dblclick.
18 PASS event type: mousedown, target: target2, received on: target2
19 PASS event type: mouseup, target: target2, received on: target2
20 PASS event type: click, target: target2, received on: target2
21 PASS event type: mousedown, target: target2, received on: target2
22 PASS event type: mouseup, target: target2, received on: target2
23 PASS event type: click, target: target2, received on: target2
24 PASS event type: dblclick, target: target2, received on: target2
25 Ensuring no false dblclicks if we continue.
26 PASS event type: mousedown, target: target2, received on: target2
27 PASS event type: mouseup, target: target2, received on: target2
28 PASS event type: click, target: target2, received on: target2
29 PASS event type: mousedown, target: target2, received on: target2
30 PASS event type: mouseup, target: target2, received on: target2
31 PASS event type: click, target: target2, received on: target2
32 PASS successfullyParsed is true