| 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 bcc37391b4774d4e8cb5c4cfd26147149a76494e..b86a4e59e43a88f62f063889d1b0f8aec531ecc2 100644
|
| --- a/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-openwindow.js
|
| +++ b/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-openwindow.js
|
| @@ -1,5 +1,5 @@
|
| // This helper will setup a small test framework that will use TESTS and run
|
| -// them iteratively and call self.postMessage('quit') when done.
|
| +// them sequentially and call self.postMessage('quit') when done.
|
| // This helper also exposes |client|, |postMessage()|, |runNextTestOrQuit()|,
|
| // |synthesizeNotificationClick()| and |initialize()|.
|
| importScripts('sw-test-helpers.js');
|
| @@ -80,7 +80,7 @@ var TESTS = [
|
| ];
|
|
|
| self.onmessage = function(e) {
|
| - if (e.data == "start") {
|
| + if (e.data == 'start') {
|
| initialize().then(runNextTestOrQuit);
|
| } else {
|
| initialize().then(function() {
|
| @@ -88,4 +88,4 @@ self.onmessage = function(e) {
|
| self.postMessage('quit');
|
| });
|
| }
|
| -}
|
| +};
|
|
|