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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-worker.js

Issue 2873373004: Remove duplicate service worker test (Closed)
Patch Set: Remove unnecessary precaution Created 3 years, 7 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
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-worker.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-worker.js
deleted file mode 100644
index 1e88ac5c4e7852b4752de3af210566d010b62a86..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-worker.js
+++ /dev/null
@@ -1,7 +0,0 @@
-// Ensure we can handle multiple activate handlers. One handler throwing an
-// error should cause the event dispatch to be treated as having unhandled
-// errors.
-self.addEventListener('activate', function(event) {});
-self.addEventListener('activate', function(event) {});
-self.addEventListener('activate', function(event) { throw new Error(); });
-self.addEventListener('activate', function(event) {});

Powered by Google App Engine
This is Rietveld 408576698