18 lines
528 B
Plaintext
18 lines
528 B
Plaintext
ALERT: Alert text
|
|
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
|
|
Alert cancel targetDiv1 lock.
|
|
PASS document.pointerLockElement is null
|
|
PASS onpointerlockchange received after: Alert cancel targetDiv1 lock.
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|