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

Unified Diff: LayoutTests/http/tests/serviceworker/chromium/resources/sw-test-helpers.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/chromium/resources/sw-test-helpers.js
diff --git a/LayoutTests/http/tests/serviceworker/chromium/resources/sw-test-helpers.js b/LayoutTests/http/tests/serviceworker/chromium/resources/sw-test-helpers.js
index 3f81a544f3f02181e3d460f994b63af897902da1..b30e7ddb733baf76c5cd61f22867fdbc6afeb88e 100644
--- a/LayoutTests/http/tests/serviceworker/chromium/resources/sw-test-helpers.js
+++ b/LayoutTests/http/tests/serviceworker/chromium/resources/sw-test-helpers.js
@@ -26,7 +26,7 @@
var currentTest = -1;
self.initialize = function() {
- return self.clients.matchAll().then(function(clients) {
+ return self.clients.getAll().then(function(clients) {
client = clients[0];
});
}

Powered by Google App Engine
This is Rietveld 408576698