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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-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-type.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-type.html b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-type.html
new file mode 100644
index 0000000000000000000000000000000000000000..ff884152caba3054695f66a2eb524cd1a15d2240
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/netinfo/netinfo-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.type, ["bluetooth", "cellular",
+ "ethernet", "mixed", "none", "other", "unknown", "wifi", "wimax"], '');
+ });
+</script>

Powered by Google App Engine
This is Rietveld 408576698