Index: third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-window.html |
diff --git a/third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-window.html b/third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-window.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..399894a478cc61f7e7e2eaccf4cb9b5b3522c075 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-window.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<title>Shared Worker: UseCounter</title> |
+<script> |
+self.connectToWorker = () => { |
+ return new Promise(resolve => { |
+ var worker = new SharedWorker('shared-worker-usecounter.js'); |
+ worker.port.onmessage = resolve; |
+ }); |
+}; |
+window.opener.postMessage('LOADED', '*'); |
+</script> |