diff options
Diffstat (limited to 'testing/web-platform/tests/service-workers/service-worker/resources/reject-install-worker.js')
-rw-r--r-- | testing/web-platform/tests/service-workers/service-worker/resources/reject-install-worker.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/service-workers/service-worker/resources/reject-install-worker.js b/testing/web-platform/tests/service-workers/service-worker/resources/reject-install-worker.js new file mode 100644 index 0000000000..41f07fd5db --- /dev/null +++ b/testing/web-platform/tests/service-workers/service-worker/resources/reject-install-worker.js @@ -0,0 +1,3 @@ +self.oninstall = function(event) { + event.waitUntil(Promise.reject()); +}; |