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

Unified Diff: LayoutTests/pointer-lock/lock-already-locked.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/lock-already-locked.html
diff --git a/LayoutTests/pointer-lock/lock-already-locked.html b/LayoutTests/pointer-lock/lock-already-locked.html
index 2098efbc077922a0024551ad523cfb236b3f0e7f..3d2fc877f59e3401fe90a1481de938d1f3dc9db3 100644
--- a/LayoutTests/pointer-lock/lock-already-locked.html
+++ b/LayoutTests/pointer-lock/lock-already-locked.html
@@ -21,7 +21,7 @@
document.onpointerlockchange = function ()
{
testPassed("document.onpointerlockchange event received.");
- shouldBe("document.webkitPointerLockElement", expectedTargetToBeLockedString);
+ shouldBe("document.pointerLockElement", expectedTargetToBeLockedString);
doNextStepWithUserGesture();
};
document.onpointerlockerror =
@@ -37,7 +37,7 @@
todo = [
function () {
- shouldBe("document.webkitPointerLockElement", "null");
+ shouldBe("document.pointerLockElement", "null");
debug(" Locking targetdiv1.")
targetdiv1.requestPointerLock();
expectedTargetToBeLockedString = "targetdiv1";

Powered by Google App Engine
This is Rietveld 408576698