Index: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/006.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/006.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/006.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c027d630d4ca38da0a7d1244f5ed49e21c36f51e |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/006.html |
@@ -0,0 +1,21 @@ |
+<!-- |
+postMessage(navigator.onLine); |
+/* |
+--> |
+<!doctype html> |
+<title>navigator.onLine</title> |
+<script src="/resources/testharness.js"></script> |
+<script src="/resources/testharnessreport.js"></script> |
+<div id=log></div> |
+<script> |
+async_test(function() { |
+ var worker = new Worker('#'); |
+ worker.onmessage = this.step_func(function(e) { |
+ assert_equals(e.data, navigator.onLine); |
+ this.done(); |
+ }); |
+}); |
+</script> |
+<!-- |
+*/ |
+//--> |