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

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

Issue 2586863002: Worker: Enable UseCounter for SharedWorkerGlobalScope (Closed)
Patch Set: ready to review 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 unified diff | Download patch
OLDNEW
(Empty)
1 onconnect = e => {
2 var port = e.ports[0];
3 port.onmessage = () => {
4 // Call fetch() just for recording API use.
5 fetch('notfound').catch(() => port.postMessage('fetched'));
6 };
7 port.postMessage('connected');
8 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698