Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <html> | |
| 2 <head> | |
| 3 <script src="../fast/js/resources/js-test-pre.js"></script> | |
| 4 <script src="vibration-utils.js"></script> | |
| 5 </head> | |
| 6 <body> | |
| 7 <script> | |
| 8 description('Tests that bad input throws exceptions in the Vibration API.'); | |
|
Peter Beverloo
2013/10/24 17:46:59
seems unrelated to this patch, but nice to have an
Michael van Ouwerkerk
2013/10/25 10:26:39
Oh sorry it's related as part of the split into mu
| |
| 9 | |
| 10 shouldThrow("navigator.vibrate();"); | |
| 11 shouldThrow("navigator.vibrate(1, 2);"); | |
| 12 shouldThrow("navigator.vibrate([1], [2]);"); | |
| 13 | |
| 14 </script> | |
| 15 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 16 </body> | |
| 17 </html> | |
| OLD | NEW |