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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/events-worker.js

Issue 435453002: [ServiceWorker] Update formatting for tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
Index: LayoutTests/http/tests/serviceworker/resources/events-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/events-worker.js b/LayoutTests/http/tests/serviceworker/resources/events-worker.js
index cfd3c540975ed5f5c44e210fba082bc7c3f260b2..80a2188677ba5a9cc728158dbf10fd973bbc0f27 100644
--- a/LayoutTests/http/tests/serviceworker/resources/events-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/events-worker.js
@@ -4,9 +4,9 @@ function handler(event) { eventsSeen.push(event.type); }
['activate', 'install'].forEach(function(type) {
self.addEventListener(type, handler);
-});
+ });
onmessage = function(e) {
- var message = e.data;
- message.port.postMessage({events: eventsSeen});
+ var message = e.data;
+ message.port.postMessage({events: eventsSeen});
};

Powered by Google App Engine
This is Rietveld 408576698