haikuwebkit/LayoutTests/pointer-lock/pointerlockelement-null-whe...

19 lines
527 B
Plaintext

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