| Index: third_party/WebKit/LayoutTests/netinfo/resources/netinfo_common.js
|
| diff --git a/third_party/WebKit/LayoutTests/netinfo/resources/netinfo_common.js b/third_party/WebKit/LayoutTests/netinfo/resources/netinfo_common.js
|
| index c47ad46b6382eeed77e2ba2a0ff34c0b1812bdc8..07273363e90e91186c41471dbe2b8b3fe1e0ae27 100644
|
| --- a/third_party/WebKit/LayoutTests/netinfo/resources/netinfo_common.js
|
| +++ b/third_party/WebKit/LayoutTests/netinfo/resources/netinfo_common.js
|
| @@ -5,10 +5,17 @@ var initialType = "bluetooth";
|
| var initialDownlinkMax = 1.0;
|
| var newConnectionType = "ethernet";
|
| var newDownlinkMax = 2.0;
|
| +var initialEffectiveType = "3g";
|
| +var initialRtt = 25.0;
|
| +var initialDownlink = 10.0;
|
| +var newEffectiveType = "4g";
|
| +var newRtt = 50.0;
|
| +var newDownlink = 30.0;
|
|
|
| // Suppress connection messages information from the host.
|
| if (window.internals) {
|
| internals.setNetworkConnectionInfoOverride(true, initialType, initialDownlinkMax);
|
| + internals.setNetworkQualityInfoOverride(initialEffectiveType, initialRtt, initialDownlink);
|
|
|
| // Reset the state of the singleton network state notifier.
|
| window.addEventListener('beforeunload', function() {
|
|
|