summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/fetch/fetchpriority/support/link-tests/link-initial-modulepreload.h2.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/fetch/fetchpriority/support/link-tests/link-initial-modulepreload.h2.html')
-rw-r--r--testing/web-platform/mozilla/tests/fetch/fetchpriority/support/link-tests/link-initial-modulepreload.h2.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/fetch/fetchpriority/support/link-tests/link-initial-modulepreload.h2.html b/testing/web-platform/mozilla/tests/fetch/fetchpriority/support/link-tests/link-initial-modulepreload.h2.html
new file mode 100644
index 0000000000..365695ff1e
--- /dev/null
+++ b/testing/web-platform/mozilla/tests/fetch/fetchpriority/support/link-tests/link-initial-modulepreload.h2.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <title>fetchpriority</title>
+ <link rel="modulepreload" href="../resources/dummy.js?1" fetchpriority="low">
+ <link rel="modulepreload" href="../resources/dummy.js?2" fetchpriority="high">
+ <link rel="modulepreload" href="../resources/dummy.js?3" fetchpriority="auto">
+ <link rel="modulepreload" href="../resources/dummy.js?4">
+</head>
+<body>
+<script>
+ onload = function() {
+ opener.postMessage("ChildLoaded", "*");
+ }
+</script>
+</body>
+</html>