1 Tests for how patterns are handled in the Vibration API.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS navigator.vibrate(newPattern(1, 4)) is true
7 PASS areArraysEqual(internals.pendingVibrationPattern(document), newPattern(1, 3)) is true
8 PASS internals.isVibrating(document) is true
9 PASS navigator.vibrate(newPattern(1, 99)) is true
10 PASS areArraysEqual(internals.pendingVibrationPattern(document), newPattern(1, 99)) is true
11 PASS internals.isVibrating(document) is true
12 PASS navigator.vibrate(newPattern(1, 200)) is true
13 PASS areArraysEqual(internals.pendingVibrationPattern(document), newPattern(1, 99)) is true
14 PASS internals.isVibrating(document) is true
15 PASS successfullyParsed is true