summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/test/activate_event_error_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/serviceworkers/test/activate_event_error_worker.js')
-rw-r--r--dom/serviceworkers/test/activate_event_error_worker.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/serviceworkers/test/activate_event_error_worker.js b/dom/serviceworkers/test/activate_event_error_worker.js
new file mode 100644
index 0000000000..a875f27d92
--- /dev/null
+++ b/dom/serviceworkers/test/activate_event_error_worker.js
@@ -0,0 +1,4 @@
+// Worker that errors on receiving an activate event.
+onactivate = function (e) {
+ undefined.doSomething;
+};