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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/oninstall-throw-error-from-nested-event-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/oninstall-throw-error-from-nested-event-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/oninstall-throw-error-from-nested-event-worker.js b/LayoutTests/http/tests/serviceworker/resources/oninstall-throw-error-from-nested-event-worker.js
index d6ed2823879a60d0e9a5eb037dba44fdb63e110a..6729ab61a371baf701796e88d1975dc1af77adcf 100644
--- a/LayoutTests/http/tests/serviceworker/resources/oninstall-throw-error-from-nested-event-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/oninstall-throw-error-from-nested-event-worker.js
@@ -3,7 +3,7 @@ var max_nesting_level = 8;
self.addEventListener('message', function(event) {
var level = event.data;
if (level < max_nesting_level)
- dispatchEvent(new MessageEvent('message', { data: level + 1 }));
+ dispatchEvent(new MessageEvent('message', { data: level + 1 }));
throw Error('error at level ' + level);
});

Powered by Google App Engine
This is Rietveld 408576698