3 <script src=
"../resources/js-test.js"></script>
4 <script src=
"vibration-utils.js"></script>
8 description('Tests that bad input throws exceptions in the Vibration API.');
10 shouldThrow("navigator.vibrate()");
11 shouldBe("navigator.vibrate(1, 2)", "true");
12 shouldBe("navigator.vibrate([1], [2])", "true");