blob: dd1c7eb60e306efd0640c3b41ccc86586aa267d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>fetchpriority</title>
</head>
<body>
<script src="../resources/dummy.js?1" fetchpriority="low"></script>
<script src="../resources/dummy.js?2" fetchpriority="high"></script>
<script src="../resources/dummy.js?3" fetchpriority="auto"></script>
<script src="../resources/dummy.js?4"></script>
<img src="../resources/square_25px_x_25px.png">
<!-- The image makes the external in-body
(https://html.spec.whatwg.org/#parsing-main-inbody) scripts considered "late"
(https://web.dev/articles/fetch-priority#browser_priority_and_fetchpriority).
-->
<script src="../resources/dummy.js?5" fetchpriority="low"></script>
<script src="../resources/dummy.js?6" fetchpriority="high"></script>
<script src="../resources/dummy.js?7" fetchpriority="auto"></script>
<script src="../resources/dummy.js?8"></script>
<script>
onload = function() {
opener.postMessage("ChildLoaded");
}
</script>
</body>
</html>
|