Skip to content

Commit 5bb6eaa

Browse files
authored
Add more keys to battery (#2059)
1 parent ea0ac4f commit 5bb6eaa

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

features/battery.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ status:
77
compat_features:
88
- api.BatteryManager
99
- api.BatteryManager.charging
10-
- api.BatteryManager.chargingchange_event
1110
- api.BatteryManager.chargingTime
11+
- api.BatteryManager.chargingchange_event
1212
- api.BatteryManager.chargingtimechange_event
1313
- api.BatteryManager.dischargingTime
1414
- api.BatteryManager.dischargingtimechange_event
1515
- api.BatteryManager.level
1616
- api.BatteryManager.levelchange_event
17+
- api.BatteryManager.secure_context_required
1718
- api.Navigator.getBattery
19+
- api.Navigator.getBattery.secure_context_required

features/battery.yml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ compat_features:
3030
# edge: "79"
3131
- api.BatteryManager.chargingTime
3232
- api.BatteryManager.dischargingTime
33+
34+
# baseline: false
35+
# support:
36+
# chrome: "103"
37+
# chrome_android: "103"
38+
# edge: "103"
39+
- api.BatteryManager.secure_context_required
40+
- api.Navigator.getBattery.secure_context_required

0 commit comments

Comments
 (0)