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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/clients-get-client-types-shared-worker.js

Issue 2881743002: [ServiceWorker] Revise wpt tests for Client.type (Closed)
Patch Set: Revise code comments Created 3 years, 7 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 = function(e) {
2 var port = e.ports[0];
3 fetch('clientId')
4 .then(function(response) {
5 return response.text();
6 })
7 .then(function(text) {
8 port.postMessage({clientId: text});
9 });
10 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698