| Index: content/test/data/net_info.html
|
| diff --git a/content/test/data/net_info.html b/content/test/data/net_info.html
|
| index 58f4702d5ac8f9c584df39991a6eb55ec932f2c8..1da26e47fc2fa371bb55e96c24450200dd98f283 100644
|
| --- a/content/test/data/net_info.html
|
| +++ b/content/test/data/net_info.html
|
| @@ -7,7 +7,7 @@ function getType() {
|
| }
|
|
|
| function getDownlinkMax() {
|
| - sendValueToTest(navigator.connection.downlinkMax.toString());
|
| + sendValueToTest(navigator.connection.downlinkMax);
|
| }
|
|
|
| function getOnLine() {
|
| @@ -19,11 +19,11 @@ function getEffectiveType() {
|
| }
|
|
|
| function getRtt() {
|
| - sendValueToTest(navigator.connection.rtt.toString());
|
| +sendValueToTest(navigator.connection.rtt);
|
| }
|
|
|
| function getDownlink() {
|
| - sendValueToTest(navigator.connection.downlink.toString());
|
| + sendValueToTest(navigator.connection.downlink);
|
| }
|
|
|
| function sendValueToTest(value) {
|
|
|