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

Side by Side Diff: LayoutTests/vibration/vibration-exceptions.html

Issue 291563004: Overload resolution: ignore extra arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../resources/js-test.js"></script> 3 <script src="../resources/js-test.js"></script>
4 <script src="vibration-utils.js"></script> 4 <script src="vibration-utils.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Tests that bad input throws exceptions in the Vibration API.'); 8 description('Tests that bad input throws exceptions in the Vibration API.');
9 9
10 shouldThrow("navigator.vibrate();"); 10 shouldThrow("navigator.vibrate()");
11 shouldThrow("navigator.vibrate(1, 2);"); 11 shouldBe("navigator.vibrate(1, 2)", "true");
12 shouldThrow("navigator.vibrate([1], [2]);"); 12 shouldBe("navigator.vibrate([1], [2])", "true");
13 13
14 </script> 14 </script>
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/select-options-remove-expected.txt ('k') | LayoutTests/vibration/vibration-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698