blob: 2e615c5fceaf39e631554ea37c5d244cf3bbb5e5 [file] [log] [blame]
Test pointerLockElement is null when a lock is pending.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.pointerLockElement is null
Lock.
PASS document.pointerLockElement is null
PASS onpointerlockchange received after: Lock.
PASS document.pointerLockElement is targetDiv1
Unlock.
PASS document.pointerLockElement is targetDiv1
PASS onpointerlockchange received after: Unlock.
PASS document.pointerLockElement is null
PASS successfullyParsed is true
TEST COMPLETE