diff options
Diffstat (limited to 'devtools/client/application/test/browser/resources/service-workers/scope-page.html')
-rw-r--r-- | devtools/client/application/test/browser/resources/service-workers/scope-page.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devtools/client/application/test/browser/resources/service-workers/scope-page.html b/devtools/client/application/test/browser/resources/service-workers/scope-page.html new file mode 100644 index 0000000000..eed5bc82ed --- /dev/null +++ b/devtools/client/application/test/browser/resources/service-workers/scope-page.html @@ -0,0 +1,19 @@ +<!-- Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ --> +<!DOCTYPE HTML> +<html> +<head> + <meta charset="UTF-8"> + <title>Service worker test</title> +</head> +<body> +<script type="text/javascript"> +"use strict"; + +window.sw = navigator.serviceWorker.register("empty-sw.js", { + scope: "./scope-page.html", +}); + +</script> +</body> +</html> |