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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/postmessage-msgport-to-client-worker.js

Issue 1057893002: Revert of ServiceWorker: Remove Clients.getAll() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/serviceworker/resources/postmessage-msgport-to-client-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/postmessage-msgport-to-client-worker.js b/LayoutTests/http/tests/serviceworker/resources/postmessage-msgport-to-client-worker.js
index 3475321f4a6813e808bdc969d86240b62cafd12d..ca966250d5c938f2a541e1d3e235ed5f1a372131 100644
--- a/LayoutTests/http/tests/serviceworker/resources/postmessage-msgport-to-client-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/postmessage-msgport-to-client-worker.js
@@ -1,5 +1,5 @@
self.onmessage = function(e) {
- self.clients.matchAll().then(function(clients) {
+ self.clients.getAll().then(function(clients) {
clients.forEach(function(client) {
var messageChannel = new MessageChannel();
messageChannel.port1.onmessage =

Powered by Google App Engine
This is Rietveld 408576698