blob: 89cfcaac59106c9316920f93e68db4d3d2e09a06 [file] [log] [blame]
[email protected]5d45e252012-06-07 22:40:191Test expected pointerlockchange and pointerlockerror events.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Unlock.
7 Lock targetDiv1.
[email protected]6bf459e2014-05-06 20:39:278PASS onpointerlockchange received after: Lock targetDiv1.
[email protected]5d45e252012-06-07 22:40:199 Unlock again.
[email protected]6bf459e2014-05-06 20:39:2710PASS onpointerlockchange received after: Unlock again.
[email protected]5d45e252012-06-07 22:40:1911 Lock targetDiv1 again.
[email protected]6bf459e2014-05-06 20:39:2712PASS onpointerlockchange received after: Lock targetDiv1 again.
[email protected]5d45e252012-06-07 22:40:1913 Lock targetDiv2.
[email protected]6bf459e2014-05-06 20:39:2714PASS onpointerlockchange received after: Lock targetDiv2.
[email protected]5d45e252012-06-07 22:40:1915 Lock targetDiv2 again.
[email protected]6bf459e2014-05-06 20:39:2716PASS onpointerlockchange received after: Lock targetDiv2 again.
[email protected]c744f482012-08-01 05:10:3017 Unlock targetDiv2.
[email protected]6bf459e2014-05-06 20:39:2718PASS onpointerlockchange received after: Unlock targetDiv2.
[email protected]5d45e252012-06-07 22:40:1919 Lock targetIframe1.
20 Lock targetIframe1 (handler for iframe1).
[email protected]6bf459e2014-05-06 20:39:2721PASS onpointerlockchange received after: Lock targetIframe1 (handler for iframe1).
[email protected]5d45e252012-06-07 22:40:1922 Lock targetIframe2.
23 Lock targetIframe2 (handler for iframe1).
24 Lock targetIframe2 (handler for iframe2).
[email protected]6bf459e2014-05-06 20:39:2725PASS onpointerlockerror received after: Lock targetIframe2 (handler for iframe2).
[email protected]5d45e252012-06-07 22:40:1926 Unlock targetIframe2.
27 Unlock targetIframe2 (handler for iframe1).
28 Unlock targetIframe2 (handler for iframe2).
[email protected]6bf459e2014-05-06 20:39:2729PASS onpointerlockchange received after: Unlock targetIframe2 (handler for iframe1).
[email protected]f94dcec2012-06-15 07:38:3730PASS testRunner.setPointerLockWillFailSynchronously is defined.
[email protected]5d45e252012-06-07 22:40:1931 Lock with synchronous failure.
[email protected]6bf459e2014-05-06 20:39:2732PASS onpointerlockerror received after: Lock with synchronous failure.
[email protected]1f3abbc2012-09-04 18:08:1933PASS testRunner.setPointerLockWillRespondAsynchronously is defined.
34PASS testRunner.didAcquirePointerLock is defined.
35PASS testRunner.didNotAcquirePointerLock is defined.
[email protected]5d45e252012-06-07 22:40:1936 Lock with asynchronous failure.
[email protected]6bf459e2014-05-06 20:39:2737PASS onpointerlockerror received after: Lock with asynchronous failure.
[email protected]1f3abbc2012-09-04 18:08:1938 Lock with asynchronous success.
[email protected]6bf459e2014-05-06 20:39:2739PASS onpointerlockchange received after: Lock with asynchronous success.
[email protected]5d45e252012-06-07 22:40:1940PASS successfullyParsed is true
41
42TEST COMPLETE
[email protected]5d45e252012-06-07 22:40:1943