6 PASS typeof navigator.webkitBattery == 'object' is true
7 PASS hasOnBatteryProperty() is true
8 PASS navigator.webkitBattery.hasOwnProperty('onchargingchange') is true
9 PASS navigator.webkitBattery.hasOwnProperty('onchargingtimechange') is true
10 PASS navigator.webkitBattery.hasOwnProperty('ondischargingtimechange') is true
11 PASS navigator.webkitBattery.hasOwnProperty('onlevelchange') is true
6FAIL typeof navigator.webkitBattery == 'object' should be true. Was false.
7FAIL hasOnBatteryProperty() should be true. Was false.
8FAIL navigator.webkitBattery.hasOwnProperty('onchargingchange') should be true. Threw exception TypeError: undefined is not an object (evaluating 'navigator.webkitBattery.hasOwnProperty')
9FAIL navigator.webkitBattery.hasOwnProperty('onchargingtimechange') should be true. Threw exception TypeError: undefined is not an object (evaluating 'navigator.webkitBattery.hasOwnProperty')
10FAIL navigator.webkitBattery.hasOwnProperty('ondischargingtimechange') should be true. Threw exception TypeError: undefined is not an object (evaluating 'navigator.webkitBattery.hasOwnProperty')
11FAIL navigator.webkitBattery.hasOwnProperty('onlevelchange') should be true. Threw exception TypeError: undefined is not an object (evaluating 'navigator.webkitBattery.hasOwnProperty')