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