Index: Source/modules/netinfo/NavigatorNetworkInfoConnection.idl |
diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/modules/netinfo/NavigatorNetworkInfoConnection.idl |
similarity index 69% |
copy from Source/modules/battery/NavigatorBattery.idl |
copy to Source/modules/netinfo/NavigatorNetworkInfoConnection.idl |
index 524bf238c12fc3d0cae9056d4e0dd9df8ce44c81..e896b669fc0a9ba228740224a2f83b7472dd1486 100644 |
--- a/Source/modules/battery/NavigatorBattery.idl |
+++ b/Source/modules/netinfo/NavigatorNetworkInfoConnection.idl |
@@ -3,8 +3,7 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=BatteryStatus, |
+ RuntimeEnabled=NetworkInfo |
] partial interface Navigator { |
- readonly attribute BatteryManager battery; |
+ readonly attribute NetworkInfoConnection connection; |
}; |
- |