<!doctype html>
<title>Async Script Execution Order</title>
<html>
<head>
    <meta charset="utf-8">
    <meta name=variant content="">
    <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>
