зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
484c4b54b5
Коммит
1cea1cebca
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче