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

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: 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 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'));
Rick Byers 2017/01/26 03:02:37 please use a feature which is Deprecated (or even
nhiroki 2017/01/27 16:58:16 You're right! Calling a deprecated feature hits DC
6 };
7 port.postMessage('connected');
8 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698