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

Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/end-to-end-worker.js

Issue 238993003: ServiceWorker: "minimal" end-to-end sample as a W3C test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add 'parsed' to observed states Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 onmessage = function(e) {
2 var message = e.data;
3 if (typeof message === 'object' && 'port' in message) {
4 var response = 'Ack for: ' + message.from;
5 message.port.postMessage(response);
6 }
7 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698