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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/workers/resources/shared-worker-usecounter-window.html

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: simplify Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Shared Worker: UseCounter</title>
3 <script>
4 self.connectToWorker = () => {
5 return new Promise(resolve => {
6 var worker = new SharedWorker('shared-worker-usecounter.js');
7 worker.port.onmessage = resolve;
8 });
9 };
10 window.opener.postMessage('LOADED', '*');
11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698