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

Unified Diff: LayoutTests/pointer-lock/lock-already-locked.html

Issue 291333005: Remove 'webkit' prefix for pointerlockchange/error in unprefixed layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « no previous file | LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3d2fc877f59e3401fe90a1481de938d1f3dc9db3..54700fe39fc8752b100acae66e3a4c514006b221 100644
--- a/LayoutTests/pointer-lock/lock-already-locked.html
+++ b/LayoutTests/pointer-lock/lock-already-locked.html
@@ -27,14 +27,6 @@
document.onpointerlockerror =
function () { testFailed("document.onpointerlockerror event received."); finishJSTest(); };
- var expectTarget1Unlock = false;
- targetdiv1.addEventListener("webkitpointerlocklost",
- function () { shouldBe("expectTarget1Unlock", "true"); });
-
- var expectTarget2Unlock = false;
- targetdiv2.addEventListener("webkitpointerlocklost",
- function () { shouldBe("expectTarget2Unlock", "true"); });
-
todo = [
function () {
shouldBe("document.pointerLockElement", "null");
@@ -51,7 +43,6 @@
},
function () {
debug(" Locking targetdiv2.")
- expectTarget1Unlock = true;
targetdiv2.requestPointerLock();
expectedTargetToBeLockedString = "targetdiv2";
// doNextStep() called by onpointerlockchange handler.
« no previous file with comments | « no previous file | LayoutTests/pointer-lock/pointerlockchange-event-on-lock-lost.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698