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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-effective-type.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-effective-type.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-effective-type.html b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-effective-type.html
new file mode 100644
index 0000000000000000000000000000000000000000..9528a81d67c90446b5b6fe82b6f7f32095f3c3ab
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-effective-type.html
@@ -0,0 +1,13 @@
+<!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_in_array(navigator.connection.effectiveType, ["slow-2g", "2g",
+ "3g", "4g"], 'effectiveType is unexpected');
+ });
+</script>

Powered by Google App Engine
This is Rietveld 408576698