| Index: LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js
|
| diff --git a/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js b/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js
|
| index 7c7c511f579c426fd66512cfa396bddf9abd946a..5c24fec1eb7b1aae59472da8eb8b9f6d30685f1f 100644
|
| --- a/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js
|
| +++ b/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js
|
| @@ -14,9 +14,9 @@ var TESTS = [
|
|
|
| function testOpenCrossOriginWindow() {
|
| synthesizeNotificationClick().then(function(e) {
|
| - clients.openWindow('https://test.com/').catch(function(e) {
|
| - self.postMessage('openWindow() can\'t open cross origin windows');
|
| - self.postMessage('openWindow() error is ' + e.name);
|
| + clients.openWindow('https://test.com/').then(function(c) {
|
| + self.postMessage('openWindow() can open cross origin windows');
|
| + self.postMessage('openWindow() result: ' + c);
|
| }).then(runNextTestOrQuit);
|
| });
|
| },
|
|
|