Test for the Vibration API. | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS navigator.vibrate(0); is true | |
PASS navigator.vibrate([]); is true | |
PASS navigator.vibrate(1); is true | |
PASS navigator.vibrate([1, 2]); is true | |
PASS navigator.vibrate([1, 2, 3]); is true | |
PASS navigator.vibrate(); threw exception TypeError: Not enough arguments. | |
PASS navigator.vibrate([1], [2]); is true | |
PASS successfullyParsed is true | |
TEST COMPLETE | |