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

Unified Diff: LayoutTests/vibration/vibration-exceptions-expected.txt

Issue 40443002: Add Vibration API layout tests that inspect internal state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Address review comments. Created 7 years, 2 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 | « LayoutTests/vibration/vibration-exceptions.html ('k') | LayoutTests/vibration/vibration-patterns.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/vibration/vibration-exceptions-expected.txt
diff --git a/LayoutTests/vibration/vibration-exceptions-expected.txt b/LayoutTests/vibration/vibration-exceptions-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bde64c23c165c7fb5015e5baab30aca946dd378d
--- /dev/null
+++ b/LayoutTests/vibration/vibration-exceptions-expected.txt
@@ -0,0 +1,12 @@
+Tests that bad input throws exceptions in the Vibration API.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS navigator.vibrate(); threw exception TypeError: Failed to execute 'vibrate' on 'Navigator': 1 argument required, but only 0 present..
+PASS navigator.vibrate(1, 2); threw exception TypeError: Type error.
+PASS navigator.vibrate([1], [2]); threw exception TypeError: Type error.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/vibration/vibration-exceptions.html ('k') | LayoutTests/vibration/vibration-patterns.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698