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

Unified Diff: LayoutTests/pointer-lock/pointerlockelement-null-when-pending-prefixed.html

Issue 437443005: Revert of Revert of Remove prefixed Pointer Lock API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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-prefixed.html
diff --git a/LayoutTests/pointer-lock/pointerlockelement-null-when-pending-prefixed.html b/LayoutTests/pointer-lock/pointerlockelement-null-when-pending-prefixed.html
deleted file mode 100644
index 859f27f13b57482cd98c71fad0b9db89cb6830d1..0000000000000000000000000000000000000000
--- a/LayoutTests/pointer-lock/pointerlockelement-null-when-pending-prefixed.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src="../resources/js-test.js"></script>
-<script src="../http/tests/resources/pointer-lock/pointer-lock-test-harness-prefixed.js"></script>
-</head>
-<body>
-<div>
- <div id="target1"></div>
-</div>
-<script>
- description("Test pointerLockElement is null when a lock is pending.")
- window.jsTestIsAsync = true;
-
- targetDiv1 = document.getElementById("target1");
-
- todo = [
- function () {
- shouldBe("document.webkitPointerLockElement", "null");
- testRunner.setPointerLockWillRespondAsynchronously();
- expectOnlyChangeEvent("Lock.");
- targetDiv1.webkitRequestPointerLock();
- doNextStep();
- },
- function () {
- shouldBe("document.webkitPointerLockElement", "null");
- testRunner.didAcquirePointerLock();
- // doNextStep called from event handler set with expect...
- },
- function () {
- shouldBe("document.webkitPointerLockElement", "targetDiv1");
- expectOnlyChangeEvent("Unlock.");
- document.webkitExitPointerLock();
- shouldBe("document.webkitPointerLockElement", "targetDiv1");
- // doNextStep called from event handler set with expect...
- },
- function () {
- shouldBe("document.webkitPointerLockElement", "null");
- doNextStep();
- },
- ];
- doNextStep();
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698