Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink.html |
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink.html b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e0b1aa74d5c1183b735bcf525e2a06eff1efa122 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink.html |
| @@ -0,0 +1,14 @@ |
| +<!DOCTYPE html> |
| +<meta charset="utf-8"> |
| +<title>NetInfo Test</title> |
|
foolip
2017/05/31 14:18:14
If the test itself doesn't have a title (after the
tbansal1
2017/06/06 20:07:40
Done.
|
| +<link rel="help" href="https://wicg.github.io/netinfo/"> |
| +<script src="/resources/testharness.js"></script> |
| +<script src="/resources/testharnessreport.js"></script> |
| + |
| +<script> |
| +test(function() { |
| + assert_greater_than_equal(navigator.connection.downlink, 0, ''); |
|
foolip
2017/05/31 14:18:14
An empty description won't do anything, just omit
tbansal1
2017/06/06 20:07:40
Done. I have removed the description from places w
|
| + assert_equals((navigator.connection.downlink *1000) % 25, 0, |
| + 'downlink must be a multiple of 25 kbps'); |
| + }); |
| +</script> |