| Index: third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-basics.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-basics.html b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-basics.html
|
| index e0c584a459ecfb92bb5bc967ac2066832ecacc97..f04342523d51629981b1199dce38c39c0a27999e 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-basics.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-basics.html
|
| @@ -9,27 +9,27 @@
|
| test(function() {
|
| assert_in_array(navigator.connection.type, ["bluetooth", "cellular",
|
| "ethernet", "mixed", "none", "other", "unknown", "wifi", "wimax"], 'type is unexpected');
|
| - });
|
| + }, "type attribute");
|
|
|
| test(function() {
|
| assert_greater_than_equal(navigator.connection.downlinkMax, 0);
|
| - });
|
| + }, "downlinkMax attribute");
|
|
|
| test(function() {
|
| assert_in_array(navigator.connection.effectiveType, ["slow-2g", "2g",
|
| "3g", "4g"], 'effectiveType is unexpected');
|
| - });
|
| + }, "effectiveType attribute");
|
|
|
| test(function() {
|
| assert_greater_than_equal(navigator.connection.rtt, 0);
|
| assert_equals(navigator.connection.rtt % 25, 0,
|
| 'rtt must be a multiple of 25 msec');
|
| - });
|
| + }, "rtt attribute");
|
|
|
| test(function() {
|
| assert_greater_than_equal(navigator.connection.downlink, 0);
|
| var downlink = navigator.connection.downlink ;
|
| assert_equals(((downlink - Math.floor(downlink)) *1000) % 25, 0,
|
| 'downlink must be a multiple of 25 kbps');
|
| - });
|
| + }, "downlink attribute");
|
| </script>
|
|
|