Index: LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-openwindow.js |
diff --git a/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-openwindow.js b/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-openwindow.js |
index caf3d8a6ad61d84300160b7801a7e8f07e9f99ae..b86a4e59e43a88f62f063889d1b0f8aec531ecc2 100644 |
--- a/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-openwindow.js |
+++ b/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-openwindow.js |
@@ -21,7 +21,7 @@ |
function testOutOfStackOutOfWaitUntil() { |
synthesizeNotificationClick().then(function() { |
- self.clients.matchAll().then(function() { |
+ self.clients.getAll().then(function() { |
clients.openWindow('/foo.html').catch(function() { |
self.postMessage('openWindow() in notificationclick outside of waitUntil not in stack failed'); |
}).then(runNextTestOrQuit); |
@@ -31,7 +31,7 @@ |
function testInWaitUntilAsyncAndDoubleCall() { |
synthesizeNotificationClick().then(function(e) { |
- e.waitUntil(self.clients.matchAll().then(function() { |
+ e.waitUntil(self.clients.getAll().then(function() { |
return clients.openWindow('/foo.html').then(function() { |
self.postMessage('openWindow() in notificationclick\'s waitUntil suceeded'); |
}).then(runNextTestOrQuit); |
@@ -41,7 +41,7 @@ |
function testDoubleCallInWaitUntilAsync() { |
synthesizeNotificationClick().then(function(e) { |
- e.waitUntil(self.clients.matchAll().then(function() { |
+ e.waitUntil(self.clients.getAll().then(function() { |
return clients.openWindow('/foo.html').then(function() { |
return clients.openWindow('/foo.html'); |
}).catch(function() { |