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
Родитель 484c4b54b5
Коммит 1cea1cebca
3 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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>

Просмотреть файл

@ -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 },

Просмотреть файл

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