Closed Bug 1477240 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 12091 - Clean up the battery-status IDL test

Categories

(Core :: DOM: Device Interfaces, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12091 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12091
Details from upstream follow.

Luke Bjerring <lukebjerring@google.com> wrote:
>  Clean up the battery-status IDL test
>  
>
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
PR 12091 applied with additional changes from upstream: 9251c72947e2b48da90c9aa51a8b320fe742d4fa
Ran 1 tests and 37 subtests
OK     : 1
PASS   : 25
FAIL   : 12

New tests that have failures or other problems:
/battery-status/battery-interface-idlharness.https.window.html
    BatteryManager interface: manager must inherit property "charging" with the proper type: FAIL
    BatteryManager interface: manager must inherit property "chargingTime" with the proper type: FAIL
    BatteryManager interface: manager must inherit property "dischargingTime" with the proper type: FAIL
    BatteryManager interface: manager must inherit property "level" with the proper type: FAIL
    BatteryManager interface: manager must inherit property "onchargingchange" with the proper type: FAIL
    BatteryManager interface: manager must inherit property "onchargingtimechange" with the proper type: FAIL
    BatteryManager interface: manager must inherit property "ondischargingtimechange" with the proper type: FAIL
    BatteryManager interface: manager must inherit property "onlevelchange" with the proper type: FAIL
    BatteryManager must be primary interface of manager: FAIL
    Navigator interface: navigator must inherit property "getBattery()" with the proper type: FAIL
    Navigator interface: operation getBattery(): FAIL
    Stringification of manager: FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/c78d9471dd64
[wpt PR 12091] - Clean up the battery-status IDL test, a=testonly
https://hg.mozilla.org/mozilla-central/rev/c78d9471dd64
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.