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

Side by Side Diff: LayoutTests/vibration/vibration-exceptions-expected.txt

Issue 36843003: Improve remaining TypeErrors in bindings code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: vibration. Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests that bad input throws exceptions in the Vibration API. 1 Tests that bad input throws exceptions in the Vibration API.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS navigator.vibrate(); threw exception TypeError: Failed to execute 'vibrate' on 'Navigator': 1 argument required, but only 0 present.. 6 PASS navigator.vibrate(); threw exception TypeError: Failed to execute 'vibrate' on 'Navigator': 1 argument required, but only 0 present..
7 PASS navigator.vibrate(1, 2); threw exception TypeError: Type error. 7 PASS navigator.vibrate(1, 2); threw exception TypeError: Failed to execute 'vibr ate' on 'Navigator': No function was found that matched the signature provided..
8 PASS navigator.vibrate([1], [2]); threw exception TypeError: Type error. 8 PASS navigator.vibrate([1], [2]); threw exception TypeError: Failed to execute ' vibrate' on 'Navigator': No function was found that matched the signature provid ed..
9 PASS successfullyParsed is true 9 PASS successfullyParsed is true
10 10
11 TEST COMPLETE 11 TEST COMPLETE
12 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698