1 window
.jsTestIsAsync
= true;
3 var connection
= navigator
.connection
;
4 var initialType
= "bluetooth";
5 var initialDownlinkMax
= 1.0;
6 var newConnectionType
= "ethernet";
7 var newDownlinkMax
= 2.0;
9 // Suppress connection messages information from the host.
10 if (window
.internals
) {
11 internals
.setNetworkStateNotifierTestOnly(true);
12 internals
.setNetworkConnectionInfo(initialType
, initialDownlinkMax
);