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

Unified Diff: content/test/data/vibration/vibration_manager_cancel_test.html

Issue 1312123003: Add browsertests for //device/vibration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move test file Created 5 years, 3 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 | « content/test/BUILD.gn ('k') | content/test/data/vibration/vibration_manager_vibrate_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/vibration/vibration_manager_cancel_test.html
diff --git a/content/test/data/vibration/vibration_manager_cancel_test.html b/content/test/data/vibration/vibration_manager_cancel_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..fb8bd18bbdc81dd565f3d293dbe0f07c8947b011
--- /dev/null
+++ b/content/test/data/vibration/vibration_manager_cancel_test.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <title>Vibration Manager API test : Cancel</title>
+ <script type="text/javascript">
+
+ function testCancel() {
+ navigator.vibrate(10000);
+ navigator.vibrate(0);
+ }
+
+ </script>
+ </head>
+ <body onLoad="testCancel()">
+ </body>
+</html>
« no previous file with comments | « content/test/BUILD.gn ('k') | content/test/data/vibration/vibration_manager_vibrate_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698