summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/file_service_worker_container.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/test/file_service_worker_container.html')
-rw-r--r--dom/workers/test/file_service_worker_container.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/workers/test/file_service_worker_container.html b/dom/workers/test/file_service_worker_container.html
new file mode 100644
index 0000000000..625e911adc
--- /dev/null
+++ b/dom/workers/test/file_service_worker_container.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <script>
+ (async function () {
+ await navigator.serviceWorker.register("file_service_worker.js");
+ await navigator.serviceWorker.ready;
+ })();
+ </script>
+ </head>
+ <body>
+ Service Worker Container
+ </body>
+</html>