| Index: Source/modules/netinfo/NetworkInformation.idl
|
| diff --git a/Source/modules/netinfo/NetworkInformation.idl b/Source/modules/netinfo/NetworkInformation.idl
|
| index 166c2b5658d1df95c2f45cb35f43a7f38f1a3916..b8d5bfeb893b5adea8ce11c01c373b6ed842068f 100644
|
| --- a/Source/modules/netinfo/NetworkInformation.idl
|
| +++ b/Source/modules/netinfo/NetworkInformation.idl
|
| @@ -7,18 +7,23 @@ enum ConnectionType {
|
| "bluetooth",
|
| "ethernet",
|
| "wifi",
|
| + "wimax",
|
| "other",
|
| "none",
|
| "unknown"
|
| };
|
|
|
| +typedef unrestricted double Megabit;
|
| +
|
| [
|
| RuntimeEnabled=NetworkInformation,
|
| Exposed=(Window,Worker),
|
| GarbageCollected,
|
| ActiveDOMObject
|
| ] interface NetworkInformation : EventTarget {
|
| - readonly attribute ConnectionType type;
|
| - attribute EventHandler ontypechange;
|
| + [MeasureAs=NetInfoType] readonly attribute ConnectionType type;
|
| + [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoDownlinkMax] readonly attribute Megabit downlinkMax;
|
| + [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoOnChange] attribute EventHandler onchange;
|
| + [MeasureAs=NetInfoOnTypeChange] attribute EventHandler ontypechange;
|
| };
|
|
|
|
|