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 c09b586539514bf5f01539a89ec87fc0cf86a520..58e8d297b2f6db37fd7af1debc1c7d48aaae533e 100644 |
--- a/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-focus.js |
+++ b/LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-focus.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'); |
@@ -79,7 +79,7 @@ var TESTS = [ |
]; |
self.onmessage = function(e) { |
- if (e.data == "start") { |
+ if (e.data == 'start') { |
initialize().then(runNextTestOrQuit); |
} else { |
initialize().then(function() { |
@@ -87,4 +87,4 @@ self.onmessage = function(e) { |
self.postMessage('quit'); |
}); |
} |
-} |
+}; |