Index: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/location/returns-same-object.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/location/returns-same-object.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/location/returns-same-object.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..40559c1660c4958c5a512b662002788bd7227e5c |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/location/returns-same-object.html |
@@ -0,0 +1,21 @@ |
+<!-- |
+postMessage(location === location); |
+/* |
+--> |
+<!doctype html> |
+<title>location === location</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_true(e.data); |
+ this.done(); |
+ }); |
+}); |
+</script> |
+<!-- |
+*/ |
+//--> |