blob: 290a4a9b3e9d9263645b4154eae151e2b06b3eae [file] [log] [blame]
self.onmessage = function(e) {
self.clients.matchAll().then(function(clients) {
clients.forEach(function(client) {
client.postMessage('Sending message via clients');
if (!Array.isArray(clients))
client.postMessage('clients is not an array');
client.postMessage('quit');
});
});
};