[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 1 | Test expected pointerlockchange and pointerlockerror events. |
2 | |||||
3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | ||||
4 | |||||
5 | |||||
6 | Unlock. | ||||
7 | Lock targetDiv1. | ||||
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 8 | PASS onpointerlockchange received after: Lock targetDiv1. |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 9 | Unlock again. |
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 10 | PASS onpointerlockchange received after: Unlock again. |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 11 | Lock targetDiv1 again. |
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 12 | PASS onpointerlockchange received after: Lock targetDiv1 again. |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 13 | Lock targetDiv2. |
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 14 | PASS onpointerlockchange received after: Lock targetDiv2. |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 15 | Lock targetDiv2 again. |
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 16 | PASS onpointerlockchange received after: Lock targetDiv2 again. |
[email protected] | c744f48 | 2012-08-01 05:10:30 | [diff] [blame] | 17 | Unlock targetDiv2. |
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 18 | PASS onpointerlockchange received after: Unlock targetDiv2. |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 19 | Lock targetIframe1. |
20 | Lock targetIframe1 (handler for iframe1). | ||||
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 21 | PASS onpointerlockchange received after: Lock targetIframe1 (handler for iframe1). |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 22 | Lock targetIframe2. |
23 | Lock targetIframe2 (handler for iframe1). | ||||
24 | Lock targetIframe2 (handler for iframe2). | ||||
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 25 | PASS onpointerlockerror received after: Lock targetIframe2 (handler for iframe2). |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 26 | Unlock targetIframe2. |
27 | Unlock targetIframe2 (handler for iframe1). | ||||
28 | Unlock targetIframe2 (handler for iframe2). | ||||
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 29 | PASS onpointerlockchange received after: Unlock targetIframe2 (handler for iframe1). |
[email protected] | f94dcec | 2012-06-15 07:38:37 | [diff] [blame] | 30 | PASS testRunner.setPointerLockWillFailSynchronously is defined. |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 31 | Lock with synchronous failure. |
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 32 | PASS onpointerlockerror received after: Lock with synchronous failure. |
[email protected] | 1f3abbc | 2012-09-04 18:08:19 | [diff] [blame] | 33 | PASS testRunner.setPointerLockWillRespondAsynchronously is defined. |
34 | PASS testRunner.didAcquirePointerLock is defined. | ||||
35 | PASS testRunner.didNotAcquirePointerLock is defined. | ||||
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 36 | Lock with asynchronous failure. |
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 37 | PASS onpointerlockerror received after: Lock with asynchronous failure. |
[email protected] | 1f3abbc | 2012-09-04 18:08:19 | [diff] [blame] | 38 | Lock with asynchronous success. |
[email protected] | 6bf459e | 2014-05-06 20:39:27 | [diff] [blame] | 39 | PASS onpointerlockchange received after: Lock with asynchronous success. |
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 40 | PASS successfullyParsed is true |
41 | |||||
42 | TEST COMPLETE | ||||
[email protected] | 5d45e25 | 2012-06-07 22:40:19 | [diff] [blame] | 43 |