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

Unified Diff: LayoutTests/pointer-lock/pointerlockelement-null-when-pending.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/pointerlockelement-null-when-pending.html
diff --git a/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html b/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html
index d82db940cd3e8f4caa075e2c4c702c402021638d..df7e2eb984890be10b45849fbc254905c8f9f91a 100644
--- a/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html
+++ b/LayoutTests/pointer-lock/pointerlockelement-null-when-pending.html
@@ -16,26 +16,26 @@
todo = [
function () {
- shouldBe("document.webkitPointerLockElement", "null");
+ shouldBe("document.pointerLockElement", "null");
testRunner.setPointerLockWillRespondAsynchronously();
expectOnlyChangeEvent("Lock.");
targetDiv1.requestPointerLock();
doNextStep();
},
function () {
- shouldBe("document.webkitPointerLockElement", "null");
+ shouldBe("document.pointerLockElement", "null");
testRunner.didAcquirePointerLock();
// doNextStep called from event handler set with expect...
},
function () {
- shouldBe("document.webkitPointerLockElement", "targetDiv1");
+ shouldBe("document.pointerLockElement", "targetDiv1");
expectOnlyChangeEvent("Unlock.");
- document.webkitExitPointerLock();
- shouldBe("document.webkitPointerLockElement", "targetDiv1");
+ document.exitPointerLock();
+ shouldBe("document.pointerLockElement", "targetDiv1");
// doNextStep called from event handler set with expect...
},
function () {
- shouldBe("document.webkitPointerLockElement", "null");
+ shouldBe("document.pointerLockElement", "null");
doNextStep();
},
];

Powered by Google App Engine
This is Rietveld 408576698