Index: content/test/data/background_sync/service_worker.js |
diff --git a/content/test/data/background_sync/service_worker.js b/content/test/data/background_sync/service_worker.js |
index e04bf30d65d0b53b295bd7fae8850cb105400249..140759d208b6d868567e83b3475012faf9aa5121 100644 |
--- a/content/test/data/background_sync/service_worker.js |
+++ b/content/test/data/background_sync/service_worker.js |
@@ -105,7 +105,7 @@ this.onsync = function(event) { |
}; |
function sendMessageToClients(type, data) { |
- clients.matchAll().then(function(clients) { |
+ clients.matchAll({ includeUncontrolled: true }).then(function(clients) { |
clients.forEach(function(client) { |
client.postMessage({type, data}); |
}); |