OLD | NEW |
(Empty) | |
| 1 Tests for how patterns are handled in the Vibration API. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 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, 9
9)) 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, 9
9)) is true |
| 14 PASS internals.isVibrating(document) is true |
| 15 PASS successfullyParsed is true |
| 16 |
| 17 TEST COMPLETE |
| 18 |
OLD | NEW |