| OLD | NEW |
| (Empty) |
| 1 Test removing an iframe containing a locked element causes lock to be released. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 Lock target in iframe. (main document handler) | |
| 7 Lock target in iframe. (iframe handler) | |
| 8 PASS onwebkitpointerlockchange received after: Lock target in iframe. (iframe ha
ndler) | |
| 9 PASS targetIframe1.contentDocument.webkitPointerLockElement is targetDiv1 | |
| 10 PASS targetDiv1.parentElement.parentElement is targetIframe1.contentDocument.bod
y | |
| 11 Remove iframe & immediately lock target2. (main document handler) | |
| 12 Remove iframe & immediately lock target2. (iframe handler) | |
| 13 PASS document.webkitPointerLockElement is null | |
| 14 PASS onwebkitpointerlockchange received after: Remove iframe & immediately lock
target2. (main document handler) | |
| 15 PASS successfullyParsed is true | |
| 16 | |
| 17 TEST COMPLETE | |
| 18 | |
| OLD | NEW |