Index: LayoutTests/http/tests/serviceworker/resources/postmessage-to-client-worker.js |
diff --git a/LayoutTests/http/tests/serviceworker/resources/postmessage-to-client-worker.js b/LayoutTests/http/tests/serviceworker/resources/postmessage-to-client-worker.js |
index 7a335498104e686cec53aa3eda25b9aedf0a3924..290a4a9b3e9d9263645b4154eae151e2b06b3eae 100644 |
--- a/LayoutTests/http/tests/serviceworker/resources/postmessage-to-client-worker.js |
+++ b/LayoutTests/http/tests/serviceworker/resources/postmessage-to-client-worker.js |
@@ -1,5 +1,5 @@ |
self.onmessage = function(e) { |
- self.clients.getAll().then(function(clients) { |
+ self.clients.matchAll().then(function(clients) { |
clients.forEach(function(client) { |
client.postMessage('Sending message via clients'); |
if (!Array.isArray(clients)) |