1 Test locking an element not in a document is rejected and pointerlockerror event dispatched.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS targetDiv1.parentElement is not null
7 Remove targetDiv1 from document, and try to lock it.
8 PASS targetDiv1.parentElement is null
9 PASS onpointerlockerror received after: Remove targetDiv1 from document, and try to lock it.
10 PASS successfullyParsed is true