Index: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/004.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/004.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/004.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2231c4ab8215cf0b3e52d755222dc55dc6be6ba2 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/navigator/004.html |
@@ -0,0 +1,21 @@ |
+<!-- |
+postMessage(navigator.platform); |
+/* |
+--> |
+<!doctype html> |
+<title>navigator.platform</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.platform); |
+ this.done(); |
+ }); |
+}); |
+</script> |
+<!-- |
+*/ |
+//--> |