OLD | NEW |
1 Test for the Vibration API. | 1 Test for the Vibration API. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS navigator.vibrate(0); is undefined | 6 FAIL navigator.vibrate(0); should be undefined. Threw exception TypeError: Objec
t #<Navigator> has no method 'vibrate' |
7 PASS navigator.vibrate([]); is undefined | 7 FAIL navigator.vibrate([]); should be undefined. Threw exception TypeError: Obje
ct #<Navigator> has no method 'vibrate' |
8 PASS navigator.vibrate(1000); is undefined | 8 FAIL navigator.vibrate(1000); should be undefined. Threw exception TypeError: Ob
ject #<Navigator> has no method 'vibrate' |
9 PASS navigator.vibrate([1000, 300, 500]); is undefined | 9 FAIL navigator.vibrate([1000, 300, 500]); should be undefined. Threw exception T
ypeError: Object #<Navigator> has no method 'vibrate' |
10 PASS navigator.vibrate(4294967295); is undefined | 10 FAIL navigator.vibrate(4294967295); should be undefined. Threw exception TypeErr
or: Object #<Navigator> has no method 'vibrate' |
11 PASS navigator.vibrate(); threw exception TypeError: Not enough arguments. | 11 PASS navigator.vibrate(); threw exception TypeError: Object #<Navigator> has no
method 'vibrate'. |
12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
13 | 13 |
14 TEST COMPLETE | 14 TEST COMPLETE |
15 | 15 |
OLD | NEW |