summaryrefslogtreecommitdiffstats
path: root/toolkit/components/printing/tests/file_link_modulepreload.html
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/printing/tests/file_link_modulepreload.html')
-rw-r--r--toolkit/components/printing/tests/file_link_modulepreload.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolkit/components/printing/tests/file_link_modulepreload.html b/toolkit/components/printing/tests/file_link_modulepreload.html
new file mode 100644
index 0000000000..ef8bc23c11
--- /dev/null
+++ b/toolkit/components/printing/tests/file_link_modulepreload.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<html>
+ <head>
+ <link rel="modulepreload" href="test.js">
+ </head>
+ <body>
+ <script type="importmap">
+ {
+ "imports": {
+ "test": "./test.js"
+ }
+ }
+ </script>
+ <p>Hello world</p>
+ </body>
+</html>