Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Unified Diff: LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js

Issue 866043005: [ServiceWorker] Tests for WindowClient.focus(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sw_openwindow_tests
Patch Set: review comment Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-focus.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9beaf6be44e01ac2c9dc3daf41758775f5f445ac..7c7c511f579c426fd66512cfa396bddf9abd946a 100644
--- a/LayoutTests/http/tests/serviceworker/chromium/resources/clients-openwindow.js
+++ b/LayoutTests/http/tests/serviceworker/chromium/resources/clients-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');
@@ -45,7 +45,7 @@ var TESTS = [
];
self.onmessage = function(e) {
- if (e.data == "start") {
+ if (e.data == 'start') {
initialize().then(runNextTestOrQuit);
} else {
initialize().then(function() {
@@ -53,4 +53,4 @@ self.onmessage = function(e) {
self.postMessage('quit');
});
}
-}
+};
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/chromium/resources/notificationclick-can-focus.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698