mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
This commit is contained in:
parent
4997ec26c2
commit
a5af9a106a
192 changed files with 3943 additions and 1927 deletions
19
tests/wpt/web-platform-tests/interfaces/battery-status.idl
Normal file
19
tests/wpt/web-platform-tests/interfaces/battery-status.idl
Normal file
|
@ -0,0 +1,19 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content of this file was automatically extracted from the
|
||||
// "Battery Status API" spec.
|
||||
// See: https://w3c.github.io/battery/
|
||||
|
||||
partial interface Navigator {
|
||||
Promise<BatteryManager> getBattery();
|
||||
};
|
||||
[Exposed=Window]
|
||||
interface BatteryManager : EventTarget {
|
||||
readonly attribute boolean charging;
|
||||
readonly attribute unrestricted double chargingTime;
|
||||
readonly attribute unrestricted double dischargingTime;
|
||||
readonly attribute double level;
|
||||
attribute EventHandler onchargingchange;
|
||||
attribute EventHandler onchargingtimechange;
|
||||
attribute EventHandler ondischargingtimechange;
|
||||
attribute EventHandler onlevelchange;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue