Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(975)

Unified Diff: third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-frame.html

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: address review comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-frame.html
diff --git a/third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-frame.html b/third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..84ed7856900523eb1573b7ece376b9822a93f338
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-frame.html
@@ -0,0 +1,10 @@
+<!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;
+ });
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698