Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink.html

Issue 2908103002: NetInfo external Web LayoutTest (Closed)
Patch Set: foolip comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink-max.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink-max.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698