Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: LayoutTests/pointer-lock/locked-element-removed-from-dom.html

Issue 279313003: Create Document exitPointerLock and pointerLockElement API methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/pointer-lock/locked-element-removed-from-dom.html
diff --git a/LayoutTests/pointer-lock/locked-element-removed-from-dom.html b/LayoutTests/pointer-lock/locked-element-removed-from-dom.html
index 411e9cf1bfa4e16f84607a33abc5beec94a99421..e2ef0dd9c4cfc3e48f824d1e13bbcfb589410375 100644
--- a/LayoutTests/pointer-lock/locked-element-removed-from-dom.html
+++ b/LayoutTests/pointer-lock/locked-element-removed-from-dom.html
@@ -32,13 +32,13 @@
// doNextStep called by event handler.
},
function () {
- shouldBe("targetIframe1.contentDocument.webkitPointerLockElement", "targetDiv1");
+ shouldBe("targetIframe1.contentDocument.pointerLockElement", "targetDiv1");
shouldBe("targetDiv1.parentElement.parentElement", "targetIframe1.contentDocument.body");
expectOnlyErrorEvent("Remove targetDiv1's parent from iframe & immediately lock target2. (main document handler)");
expectOnlyChangeEvent("Remove targetDiv1's parent from iframe & immediately lock target2. (iframe handler)", targetIframe1.contentDocument);
targetDiv1.parentElement.parentElement.removeChild(targetDiv1.parentElement);
targetDiv2.requestPointerLock();
- shouldBe("document.webkitPointerLockElement", "null");
+ shouldBe("document.pointerLockElement", "null");
shouldBe("targetDiv1.parentElement.parentElement", "null");
// doNextStep called by event handler.
},

Powered by Google App Engine
This is Rietveld 408576698