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