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

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

Issue 264233003: Add blink-side binding code and tests for ServiceWorker -> Document postMessage (3/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove local test remnant 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 self.onmessage = function(e) {
2 self.clients.getServiced().then(function(clients) {
3 clients.forEach(function(client) {
4 client.postMessage('Sending message via clients');
5 client.postMessage('quit');
6 });
7 });
8 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698