lock-element-not-in-dom-expected.txt 464 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
Test locking an element not in a document is rejected and pointerlockerror event dispatched.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS targetDiv1.parentElement is not null
     Remove targetDiv1 from document, and try to lock it.
PASS targetDiv1.parentElement is null
PASS onwebkitpointerlockerror received after: Remove targetDiv1 from document, and try to lock it.
PASS successfullyParsed is true

TEST COMPLETE