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