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