Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js |
index 7671ba6746be3483b7485af372e95b1285e0a028..0db803c7c4e86fe8db7713046536e7ca174e24c7 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js |
@@ -76,8 +76,9 @@ var TESTS = [ |
function testOpenViewSource() { |
synthesizeNotificationClick().then(function(e) { |
- clients.openWindow('view-source://http://test.com').catch(function(c) { |
+ clients.openWindow('view-source://http://test.com').catch(function(error) { |
self.postMessage('openWindow() can not open view-source scheme'); |
+ self.postMessage('openWindow() error is: ' + error.name); |
}).then(runNextTestOrQuit); |
}); |
}, |