| Index: Source/modules/battery/NavigatorBattery.idl
|
| diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/modules/battery/NavigatorBattery.idl
|
| index 524bf238c12fc3d0cae9056d4e0dd9df8ce44c81..c5bff09da1473e835b8de2b1f59997117385b2c6 100644
|
| --- a/Source/modules/battery/NavigatorBattery.idl
|
| +++ b/Source/modules/battery/NavigatorBattery.idl
|
| @@ -5,6 +5,6 @@
|
| [
|
| RuntimeEnabled=BatteryStatus,
|
| ] partial interface Navigator {
|
| - readonly attribute BatteryManager battery;
|
| + [CallWith=ScriptState] Promise getBattery();
|
| };
|
|
|
|
|