summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_js_cache_module.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/file_js_cache_module.html')
-rw-r--r--dom/base/test/file_js_cache_module.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/base/test/file_js_cache_module.html b/dom/base/test/file_js_cache_module.html
new file mode 100644
index 0000000000..36d549c945
--- /dev/null
+++ b/dom/base/test/file_js_cache_module.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Load the script as a module</title>
+</head>
+<body>
+ <!-- crossorigin="use-credentials", because if we do an anonymous load that --
+ -- won't use the cache at all -->
+ <script id="watchme" src="file_js_cache.js" type="module"
+ crossorigin="use-credentials"></script>
+</body>
+</html>