OLD | NEW |
1 Tests that the window.navigator.battery properties are present. | 1 Tests that the window.navigator.battery properties are present. |
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 typeof navigator.webkitBattery == 'object' is true | 6 FAIL typeof navigator.webkitBattery == 'object' should be true. Was false. |
7 PASS hasOnBatteryProperty() is true | 7 FAIL hasOnBatteryProperty() should be true. Was false. |
8 PASS navigator.webkitBattery.hasOwnProperty('onchargingchange') is true | 8 FAIL navigator.webkitBattery.hasOwnProperty('onchargingchange') should be true.
Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefined |
9 PASS navigator.webkitBattery.hasOwnProperty('onchargingtimechange') is true | 9 FAIL navigator.webkitBattery.hasOwnProperty('onchargingtimechange') should be tr
ue. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefined |
10 PASS navigator.webkitBattery.hasOwnProperty('ondischargingtimechange') is true | 10 FAIL navigator.webkitBattery.hasOwnProperty('ondischargingtimechange') should be
true. Threw exception TypeError: Cannot call method 'hasOwnProperty' of undefin
ed |
11 PASS navigator.webkitBattery.hasOwnProperty('onlevelchange') is true | 11 FAIL navigator.webkitBattery.hasOwnProperty('onlevelchange') should be true. Thr
ew exception TypeError: Cannot call method 'hasOwnProperty' of undefined |
12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
13 | 13 |
14 TEST COMPLETE | 14 TEST COMPLETE |
15 | 15 |
OLD | NEW |