Chromium Code Reviews| Index: third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl |
| diff --git a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl |
| index 4520d9a57b90cb3807df9cba2cc4bab868de2f58..ae3433b7f3668e496032f7331073602ecd566ba7 100644 |
| --- a/third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl |
| +++ b/third_party/WebKit/Source/modules/netinfo/NetworkInformation.idl |
| @@ -16,6 +16,7 @@ enum ConnectionType { |
| }; |
| typedef unrestricted double Megabit; |
| +typedef unrestricted double Milliseconds; |
|
jkarlin
2017/05/16 14:32:59
The spec says unsigned long long for milliseconds
tbansal1
2017/05/16 18:23:28
Done.
jkarlin
2017/05/16 18:37:19
Why remove the typedef? Might as well have it as i
tbansal1
2017/05/16 21:34:29
Done.
|
| [ |
| ActiveScriptWrappable, |
| @@ -27,4 +28,6 @@ typedef unrestricted double Megabit; |
| [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoDownlinkMax] readonly attribute Megabit downlinkMax; |
| [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoOnChange] attribute EventHandler onchange; |
| [MeasureAs=NetInfoOnTypeChange] attribute EventHandler ontypechange; |
| + [RuntimeEnabled=NetInfoRtt, MeasureAs=NetInfoRtt] readonly attribute Milliseconds rtt; |
| + [RuntimeEnabled=NetInfoDownlink, MeasureAs=NetInfoDownlink] readonly attribute Megabit downlink; |
| }; |