OLD | NEW |
| 1 CONSOLE MESSAGE: line 17: Uncaught TypeError: Cannot call method 'addEventListen
er' of undefined |
1 Tests the basic operation of all BatteryStatus events. | 2 Tests the basic operation of all BatteryStatus events. |
2 | 3 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 5 |
5 | 6 |
6 chargingchange event is raised | 7 FAIL successfullyParsed should be true (of type boolean). Was undefined (of type
undefined). |
7 PASS battery.charging is false | |
8 PASS battery.chargingTime is Infinity | |
9 PASS battery.dischargingTime is 6000 | |
10 PASS battery.level is 0.7 | |
11 chargingtimechange event is raised | |
12 PASS battery.charging is false | |
13 PASS battery.chargingTime is Infinity | |
14 PASS battery.dischargingTime is 6000 | |
15 PASS battery.level is 0.7 | |
16 dischargingtimechange event is raised | |
17 PASS battery.charging is false | |
18 PASS battery.chargingTime is Infinity | |
19 PASS battery.dischargingTime is 6000 | |
20 PASS battery.level is 0.7 | |
21 levelchange event is raised | |
22 PASS battery.charging is false | |
23 PASS battery.chargingTime is Infinity | |
24 PASS battery.dischargingTime is 6000 | |
25 PASS battery.level is 0.7 | |
26 PASS successfullyParsed is true | |
27 | 8 |
28 TEST COMPLETE | 9 TEST COMPLETE |
29 | 10 |
OLD | NEW |