Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-from-nested-event-worker.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-from-nested-event-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-from-nested-event-worker.js |
deleted file mode 100644 |
index 7c97014fd042affbd38d77fa538d8a584d7c72f7..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/onactivate-throw-error-from-nested-event-worker.js |
+++ /dev/null |
@@ -1,13 +0,0 @@ |
-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 })); |
- throw Error('error at level ' + level); |
- }); |
- |
-self.addEventListener('activate', function(event) { |
- dispatchEvent(new MessageEvent('message', { data: 1 })); |
- }); |
- |