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

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

Issue 284163002: Better arity checks for overloads (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Return properly Created 6 years, 7 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 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: Failed to execute 'vibr ate' on 'Navigator': No function was found that matched the signature provided.. 7 PASS navigator.vibrate(1, 2); threw exception TypeError: Failed to execute 'vibr ate' on 'Navigator': 1 argument required, but only 2 present..
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.. 8 PASS navigator.vibrate([1], [2]); threw exception TypeError: Failed to execute ' vibrate' on 'Navigator': 1 argument required, but only 2 present..
9 PASS successfullyParsed is true 9 PASS successfullyParsed is true
10 10
11 TEST COMPLETE 11 TEST COMPLETE
12 12
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/select-options-remove-expected.txt ('k') | Source/bindings/scripts/v8_interface.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698