diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/fetch/fetchpriority/support/script-tests/async-module-script-initial-load.h2.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/fetch/fetchpriority/support/script-tests/async-module-script-initial-load.h2.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/fetch/fetchpriority/support/script-tests/async-module-script-initial-load.h2.html b/testing/web-platform/mozilla/tests/fetch/fetchpriority/support/script-tests/async-module-script-initial-load.h2.html new file mode 100644 index 0000000000..6b8b0977b7 --- /dev/null +++ b/testing/web-platform/mozilla/tests/fetch/fetchpriority/support/script-tests/async-module-script-initial-load.h2.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="UTF-8"> + <title>fetchpriority</title> + <script type="module" async src="../resources/dummy.js?1" fetchpriority="low"></script> + <script type="module" async src="../resources/dummy.js?2" fetchpriority="high"></script> + <script type="module" async src="../resources/dummy.js?3" fetchpriority="auto"></script> + <script type="module" async src="../resources/dummy.js?4"></script> +</head> +<body> +<script> + onload = function() { + opener.postMessage("ChildLoaded", "*"); + } +</script> +</body> +</html> |