blob: 41e6fd52da02c9130a735ce8afa674a27b24351a [file] [log] [blame]
Tests that the window.navigator.battery properties are present.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS typeof navigator.webkitBattery == 'object' is true
PASS hasOnBatteryProperty() is true
PASS navigator.webkitBattery.hasOwnProperty('onchargingchange') is true
PASS navigator.webkitBattery.hasOwnProperty('onchargingtimechange') is true
PASS navigator.webkitBattery.hasOwnProperty('ondischargingtimechange') is true
PASS navigator.webkitBattery.hasOwnProperty('onlevelchange') is true
PASS successfullyParsed is true