summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/defer-script/async-script.html
blob: 90f657679f922b92f8ac3737b44660e1562defb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<title>Async Script Execution Order</title>
<html>
<head>
    <meta charset="utf-8">
    <meta name=variant content="?default">
    <meta name=variant content="?reload">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="resources/helper.js"></script>
</head>
<body>
  <script>
    let child_path = 'support/async-script.html';
    if (location.search == '?reload') {
      child_path += '?reload';
    }
    const child_window = window.open(child_path);
    fetch_tests_from_window(child_window);
  </script>
</body>
</html>