Index: LayoutTests/pointer-lock/locked-element-removed-from-dom-prefixed-expected.txt |
diff --git a/LayoutTests/pointer-lock/locked-element-removed-from-dom-prefixed-expected.txt b/LayoutTests/pointer-lock/locked-element-removed-from-dom-prefixed-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f88d51900348ced64f483a8332e44e88960da324 |
--- /dev/null |
+++ b/LayoutTests/pointer-lock/locked-element-removed-from-dom-prefixed-expected.txt |
@@ -0,0 +1,21 @@ |
+Test removing a locked element from a document causes lock to be released. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+ Lock target in iframe. (main document handler). |
+ Lock target in iframe. (iframe handler) |
+PASS onwebkitpointerlockchange received after: Lock target in iframe. (iframe handler) |
+PASS targetIframe1.contentDocument.webkitPointerLockElement is targetDiv1 |
+PASS targetDiv1.parentElement.parentElement is targetIframe1.contentDocument.body |
+ Remove targetDiv1's parent from iframe & immediately lock target2. (main document handler) |
+ Remove targetDiv1's parent from iframe & immediately lock target2. (iframe handler) |
+PASS document.webkitPointerLockElement is null |
+PASS targetDiv1.parentElement.parentElement is null |
+PASS onwebkitpointerlockerror received after: Remove targetDiv1's parent from iframe & immediately lock target2. (main document handler) |
+PASS onwebkitpointerlockchange received after: Remove targetDiv1's parent from iframe & immediately lock target2. (iframe handler) |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |
+ |