| OLD | NEW |
| 1 CONSOLE MESSAGE: line 10: Uncaught TypeError: Cannot call method 'addEventListen
er' of undefined |
| 1 Tests the basic operation of BatteryStatus. | 2 Tests the basic operation of BatteryStatus. |
| 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 PASS battery.charging is false | 7 FAIL successfullyParsed should be true (of type boolean). Was undefined (of type
undefined). |
| 7 PASS battery.chargingTime is Infinity | |
| 8 PASS battery.dischargingTime is 6000 | |
| 9 PASS battery.level is 0.7 | |
| 10 PASS successfullyParsed is true | |
| 11 | 8 |
| 12 TEST COMPLETE | 9 TEST COMPLETE |
| 13 | 10 |
| OLD | NEW |