| Index: third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-rtt.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-rtt.html b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-rtt.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b0291cc65084b197c2806e2a05ecb83ea483c00d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-rtt.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="utf-8">
|
| +<title>NetInfo Test</title>
|
| +<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.rtt, 0, '');
|
| + assert_equals(navigator.connection.rtt % 25, 0,
|
| + 'rtt must be a multiple of 25 msec');
|
| + });
|
| +</script>
|
|
|