Test files: 9; Total subtests: 51
Test | Chrome Beta 52 for Android | Firefox Nightly 49 for Android | Chrome Beta 52 for Windows | Firefox Night 49 for Windows |
---|---|---|---|---|
/battery-status/battery-interface-idlharness.html | OK | OK | OK | OK |
Battery test: IDL | PASS | PASS | PASS | PASS |
Navigator interface: operation getBattery() | FAIL | PASS | FAIL | PASS |
Navigator must be primary interface of navigator | PASS | PASS | PASS | PASS |
Stringification of navigator | PASS | PASS | PASS | PASS |
Navigator interface: navigator must inherit property "getBattery" with the proper type (0) | PASS | PASS | PASS | PASS |
BatteryManager interface: existence and properties of interface object | PASS | PASS | PASS | PASS |
BatteryManager interface object length | PASS | PASS | PASS | PASS |
BatteryManager interface object name | PASS | PASS | PASS | PASS |
BatteryManager interface: existence and properties of interface prototype object | FAIL | PASS | FAIL | PASS |
BatteryManager interface: existence and properties of interface prototype object's "constructor" property | PASS | PASS | PASS | PASS |
BatteryManager interface: attribute charging | PASS | PASS | PASS | PASS |
BatteryManager interface: attribute chargingTime | PASS | PASS | PASS | PASS |
BatteryManager interface: attribute dischargingTime | PASS | PASS | PASS | PASS |
BatteryManager interface: attribute level | PASS | PASS | PASS | PASS |
BatteryManager interface: attribute onchargingchange | PASS | PASS | PASS | PASS |
BatteryManager interface: attribute onchargingtimechange | PASS | PASS | PASS | PASS |
BatteryManager interface: attribute ondischargingtimechange | PASS | PASS | PASS | PASS |
BatteryManager interface: attribute onlevelchange | PASS | PASS | PASS | PASS |
BatteryManager must be primary interface of manager | PASS | PASS | PASS | PASS |
Stringification of manager | PASS | PASS | PASS | PASS |
BatteryManager interface: manager must inherit property "charging" with the proper type (0) | PASS | PASS | PASS | PASS |
BatteryManager interface: manager must inherit property "chargingTime" with the proper type (1) | PASS | PASS | PASS | PASS |
BatteryManager interface: manager must inherit property "dischargingTime" with the proper type (2) | PASS | PASS | PASS | PASS |
BatteryManager interface: manager must inherit property "level" with the proper type (3) | PASS | PASS | PASS | PASS |
BatteryManager interface: manager must inherit property "onchargingchange" with the proper type (4) | PASS | PASS | PASS | PASS |
BatteryManager interface: manager must inherit property "onchargingtimechange" with the proper type (5) | PASS | PASS | PASS | PASS |
BatteryManager interface: manager must inherit property "ondischargingtimechange" with the proper type (6) | PASS | PASS | PASS | PASS |
BatteryManager interface: manager must inherit property "onlevelchange" with the proper type (7) | PASS | PASS | PASS | PASS |
EventTarget interface: manager must inherit property "addEventListener" with the proper type (0) | PASS | PASS | PASS | PASS |
EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on manager with too few arguments must throw TypeError | PASS | PASS | PASS | PASS |
EventTarget interface: manager must inherit property "removeEventListener" with the proper type (1) | PASS | PASS | PASS | PASS |
EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on manager with too few arguments must throw TypeError | PASS | PASS | PASS | PASS |
EventTarget interface: manager must inherit property "dispatchEvent" with the proper type (2) | PASS | PASS | PASS | PASS |
EventTarget interface: calling dispatchEvent(Event) on manager with too few arguments must throw TypeError | PASS | PASS | PASS | PASS |
/battery-status/battery-promise-iframe.html | OK | OK | OK | OK |
iframe has a different Navigator object thus getting another battery promise | PASS | PASS | PASS | PASS |
setting src of an iframe with initial about:blank makes same Navigator object and battery promise | FAIL | PASS | FAIL | PASS |
setting src of an iframe with initial frame makes its Navigator object vary thus getting another battery promise | PASS | PASS | PASS | PASS |
/battery-status/battery-promise-window.html | OK | OK | OK | OK |
window.open() makes a different Navigator object thus getting another battery promise | PASS | PASS | PASS | PASS |
/battery-status/battery-promise.html | OK | OK | OK | OK |
navigator.getBattery() shall return BatteryManager as a promise | PASS | PASS | PASS | PASS |
navigator.getBattery() shall always return the same promise | PASS | PASS | PASS | PASS |
/battery-status/battery-charging-manual.html | OK | OK | OK | OK |
Battery Test: battery neither empty or full, charger plugged in | PASS | PASS | PASS | PASS |
/battery-status/battery-discharging-manual.html | OK | OK | OK | OK |
Battery Test: battery neither empty or full, charger unplugged in | PASS | PASS | PASS | PASS |
/battery-status/battery-full-manual.html | OK | OK | OK | OK |
Battery Test: battery full, charger plugged in | PASS | PASS | PASS | PASS |
/battery-status/battery-plugging-in-manual.html | OK | OK | OK | OK |
When the device is plugged in and its charging state is updated, must set the charging attribute's value to true and fire a chargingchange event. | PASS | PASS | PASS | PASS |
When the device is plugged in and its charging time is updated, must set the chargingTime attribute's value and fire a chargingtimechange event. | FAIL | PASS | PASS | PASS |
When the device is plugged in and its discharging time is updated, must set the dischargingTime attribute's value to Infinity and fire a dischargingtimechange event. | FAIL | PASS | PASS | PASS |
When the device is plugged in and the battery level is updated, must set the level attribute's value and fire a levelchange event. | PASS | PASS | PASS | PASS |
/battery-status/battery-unplugging-manual.html | OK | OK | OK | OK |
When the device is unplugged in and its charging state is updated, must set the charging attribute's value to false and fire a chargingchange event. | PASS | PASS | PASS | PASS |
When the device is unplugged in and its charging time is updated, must set the chargingTime attribute's value to Infinity and fire a chargingtimechange event. | FAIL | PASS | PASS | PASS |
When the device is unplugged in and its discharging time is updated, must set the dischargingTime attribute's value and fire a dischargingtimechange event. | FAIL | PASS | PASS | PASS |
When the device is plugged in and the battery level is updated, must set the level attribute's value and fire a levelchange event. | PASS | PASS | PASS | PASS |
Failure analysis: