| OLD | NEW |
| 1 CONSOLE WARNING: requestPointerLock can only be initiated by a user gesture. |
| 1 Test removing a locked element from a document causes lock to be released. | 2 Test removing a locked element from a document causes lock to be released. |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 | 6 |
| 6 Lock target in iframe. (main document handler). | 7 Lock target in iframe. (main document handler). |
| 7 Lock target in iframe. (iframe handler) | 8 Lock target in iframe. (iframe handler) |
| 8 PASS onpointerlockchange received after: Lock target in iframe. (iframe handler) | 9 PASS onpointerlockchange received after: Lock target in iframe. (iframe handler) |
| 9 PASS targetIframe1.contentDocument.pointerLockElement is targetDiv1 | 10 PASS targetIframe1.contentDocument.pointerLockElement is targetDiv1 |
| 10 PASS targetDiv1.parentElement.parentElement is targetIframe1.contentDocument.bod
y | 11 PASS targetDiv1.parentElement.parentElement is targetIframe1.contentDocument.bod
y |
| 11 Remove targetDiv1's parent from iframe & immediately lock target2. (main do
cument handler) | 12 Remove targetDiv1's parent from iframe & immediately lock target2. (main do
cument handler) |
| 12 Remove targetDiv1's parent from iframe & immediately lock target2. (iframe
handler) | 13 Remove targetDiv1's parent from iframe & immediately lock target2. (iframe
handler) |
| 13 PASS document.pointerLockElement is null | 14 PASS document.pointerLockElement is null |
| 14 PASS targetDiv1.parentElement.parentElement is null | 15 PASS targetDiv1.parentElement.parentElement is null |
| 15 PASS onpointerlockerror received after: Remove targetDiv1's parent from iframe &
immediately lock target2. (main document handler) | 16 PASS onpointerlockerror received after: Remove targetDiv1's parent from iframe &
immediately lock target2. (main document handler) |
| 16 PASS onpointerlockchange received after: Remove targetDiv1's parent from iframe
& immediately lock target2. (iframe handler) | 17 PASS onpointerlockchange received after: Remove targetDiv1's parent from iframe
& immediately lock target2. (iframe handler) |
| 17 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
| 18 | 19 |
| 19 TEST COMPLETE | 20 TEST COMPLETE |
| 20 | 21 |
| 21 | 22 |
| OLD | NEW |