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

Unified Diff: LayoutTests/fast/dom/navigator-vibration.html

Issue 18478003: Vibration cannot be canceled during pattern vibration. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Vibration cannot be canceled during pattern vibration. Created 7 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/fast/dom/navigator-vibration.html
diff --git a/LayoutTests/fast/dom/navigator-vibration.html b/LayoutTests/fast/dom/navigator-vibration.html
deleted file mode 100644
index 546c88c3c3222c2f56514880cf5781fa5bb446cf..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/navigator-vibration.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html>
-<head>
-<script src="../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<script>
-description('Test for the Vibration API.');
-
-shouldBeTrue("navigator.vibrate(0);");
-shouldBeTrue("navigator.vibrate([]);");
-shouldBeTrue("navigator.vibrate(1);");
-shouldBeTrue("navigator.vibrate([1, 2]);");
-shouldBeTrue("navigator.vibrate([1, 2, 3]);");
-shouldBeTrue("navigator.vibrate(10000);");
-shouldBeFalse("navigator.vibrate(10001);");
-shouldBeFalse("navigator.vibrate(-1);");
-shouldBeTrue("var p = []; for (var i = 0; i < 99; i++) p[i] = 1; navigator.vibrate(p);");
-shouldBeFalse("var p = []; for (var i = 0; i < 100; i++) p[i] = 1; navigator.vibrate(p);");
-shouldThrow("navigator.vibrate();");
-shouldThrow("navigator.vibrate([1], [2]);");
-</script>
-<script src="../js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698