blob: e5e4aad8fb6a52d508925906b6a44bdbfae77d3a [file] [log] [blame]
Test that pointerlockchange event is dispatched when lock is lost.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.testRunner is defined.
Lock targetDiv1.
PASS onpointerlockchange received after: Lock targetDiv1.
PASS document.pointerLockElement is targetDiv1
Host initiated unlock.
PASS onpointerlockchange received after: Host initiated unlock.
PASS document.pointerLockElement is null
PASS successfullyParsed is true
TEST COMPLETE