blob: ea34843813b7d7c200393da96b131901391a1262 [file] [log] [blame]
Test calling lock when already in a locked state.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.pointerLockElement is null
Locking targetdiv1.
PASS document.onpointerlockchange event received.
PASS document.pointerLockElement is targetdiv1
Locking targetdiv1, again.
PASS document.onpointerlockchange event received.
PASS document.pointerLockElement is targetdiv1
Locking targetdiv2.
PASS document.onpointerlockchange event received.
PASS document.pointerLockElement is targetdiv2
PASS successfullyParsed is true
TEST COMPLETE