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

Unified Diff: LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.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/pointerlockchange-pointerlockerror-events.html
diff --git a/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html b/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html
index f270cc3a3d4022e9a7e11e54c4296b769ee27691..dc74afd1bc93a51e20e87f7ec377a22a95f92aaa 100644
--- a/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html
+++ b/LayoutTests/pointer-lock/pointerlockchange-pointerlockerror-events.html
@@ -31,7 +31,7 @@
todo = [
function () {
expectNoEvents("Unlock.");
- document.webkitExitPointerLock();
+ document.exitPointerLock();
doNextStepWithUserGesture();
},
function () {
@@ -40,7 +40,7 @@
},
function () {
expectOnlyChangeEvent("Unlock again.");
- document.webkitExitPointerLock();
+ document.exitPointerLock();
},
function () {
expectOnlyChangeEvent("Lock targetDiv1 again.");
@@ -56,7 +56,7 @@
},
function () {
expectOnlyChangeEvent("Unlock targetDiv2.");
- document.webkitExitPointerLock();
+ document.exitPointerLock();
},
function () {
targetIframe1.src = "about:blank";
@@ -81,7 +81,7 @@
expectNoEvents("Unlock targetIframe2.");
expectOnlyChangeEvent("Unlock targetIframe2 (handler for iframe1).", targetIframe1.contentDocument);
expectNoEvents("Unlock targetIframe2 (handler for iframe2).", targetIframe2.contentDocument);
- targetIframe1.contentDocument.webkitExitPointerLock();
+ targetIframe1.contentDocument.exitPointerLock();
},
function () {
shouldBeDefined("testRunner.setPointerLockWillFailSynchronously");

Powered by Google App Engine
This is Rietveld 408576698