blob: 227448e1f629429da9e8a3beedd787699d63643b [file] [log] [blame]
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 onpointerlockerror received after: Remove targetDiv1 from document, and try to lock it.
PASS successfullyParsed is true
TEST COMPLETE