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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink-max.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
Index: third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink-max.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink-max.html b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink-max.html
new file mode 100644
index 0000000000000000000000000000000000000000..9c7c5dc5f3126e8f04726a9cfc7f8b2ab27863fb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-downlink-max.html
@@ -0,0 +1,12 @@
+<!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.downlinkMax, 0, '');
+ });
+</script>

Powered by Google App Engine
This is Rietveld 408576698