Index: chrome/test/data/push_messaging/service_worker.js |
diff --git a/chrome/test/data/push_messaging/service_worker.js b/chrome/test/data/push_messaging/service_worker.js |
index 358c6af9081c66015cdeb30f7642557297d30e93..e884e899b39348d4e48e9446bfe1e55ebf6c5e63 100644 |
--- a/chrome/test/data/push_messaging/service_worker.js |
+++ b/chrome/test/data/push_messaging/service_worker.js |
@@ -38,7 +38,7 @@ function sendMessageToClients(type, data) { |
'type': type, |
'data': data |
}); |
- clients.getAll().then(function(clients) { |
+ clients.matchAll().then(function(clients) { |
clients.forEach(function(client) { |
client.postMessage(message); |
}); |