pointerlockchange-event-on-lock-lost-expected.txt 526 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Test that webkitpointerlockchange 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 onwebkitpointerlockchange received after: Lock targetDiv1.
PASS document.webkitPointerLockElement is targetDiv1
     Host initiated unlock.
PASS onwebkitpointerlockchange received after: Host initiated unlock.
PASS document.webkitPointerLockElement is null
PASS successfullyParsed is true

TEST COMPLETE