From 5bb6eaa4387a567fb9522d046721363babaeeb94 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Wed, 23 Oct 2024 18:00:53 +0200 Subject: [PATCH] Add more keys to battery (#2059) --- features/battery.yml | 4 +++- features/battery.yml.dist | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/features/battery.yml b/features/battery.yml index 5cb4e11bffe..a27014e8d1b 100644 --- a/features/battery.yml +++ b/features/battery.yml @@ -7,11 +7,13 @@ status: compat_features: - api.BatteryManager - api.BatteryManager.charging - - api.BatteryManager.chargingchange_event - api.BatteryManager.chargingTime + - api.BatteryManager.chargingchange_event - api.BatteryManager.chargingtimechange_event - api.BatteryManager.dischargingTime - api.BatteryManager.dischargingtimechange_event - api.BatteryManager.level - api.BatteryManager.levelchange_event + - api.BatteryManager.secure_context_required - api.Navigator.getBattery + - api.Navigator.getBattery.secure_context_required diff --git a/features/battery.yml.dist b/features/battery.yml.dist index 7d9f77c487a..6a82ed03168 100644 --- a/features/battery.yml.dist +++ b/features/battery.yml.dist @@ -30,3 +30,11 @@ compat_features: # edge: "79" - api.BatteryManager.chargingTime - api.BatteryManager.dischargingTime + + # baseline: false + # support: + # chrome: "103" + # chrome_android: "103" + # edge: "103" + - api.BatteryManager.secure_context_required + - api.Navigator.getBattery.secure_context_required