lock-already-locked-expected.txt 640 Bytes
Newer Older
1 2 3 4 5
Test calling lock when already in a locked state.

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


6 7 8 9 10 11 12 13
PASS document.webkitPointerLockElement is null
     Locking targetdiv1.
PASS document.onwebkitpointerlockchange event received.
PASS document.webkitPointerLockElement is targetdiv1
     Locking targetdiv1, again.
PASS document.onwebkitpointerlockchange event received.
PASS document.webkitPointerLockElement is targetdiv1
     Locking targetdiv2.
14
PASS document.onwebkitpointerlockchange event received.
15
PASS document.webkitPointerLockElement is targetdiv2
16 17 18 19
PASS successfullyParsed is true

TEST COMPLETE