Backed out changeset f065877ca676 (bug 1441976) for wpt failures at battery-status/battery-interface-idlharness.https.window.html on a CLOSED TREE

This commit is contained in:
Coroiu Cristina 2019-09-27 00:24:29 +03:00
parent 484c4b54b5
commit 1cea1cebca
3 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,6 @@
/** Test for Battery API **/
ok(!("getBattery" in navigator), "navigator.getBattery should not exist for unprivileged web content");
ok(!("battery" in navigator), "navigator.battery should not exist");
ok(!("BatteryManager" in window), "BatteryManager should not exist");
</script>
</pre>

View File

@ -180,6 +180,8 @@ var interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "BaseAudioContext", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "BatteryManager", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "BeforeUnloadEvent", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "BiquadFilterNode", insecureContext: true },

View File

@ -10,7 +10,6 @@
* liability, trademark and document use rules apply.
*/
[ChromeOnly]
interface BatteryManager : EventTarget {
readonly attribute boolean charging;
readonly attribute unrestricted double chargingTime;