summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/execution-timing/120.html
blob: 2cfe5221ddb6c5fa46d5c0e4b919954915ae08f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html><head>
  <title>scheduler: script created without a window </title>
  <script src="/resources/testharness.js"></script>
  <script src="/resources/testharnessreport.js"></script>
</head>
<div id="log"></div>
<script>
  var t = async_test();

  var doc = document.implementation.createHTMLDocument("");
  doc.write("<script>t.step(function() {assert_unreached()})<\/script>");

  document.body.appendChild(doc.head.firstChild);

  onload = function() {t.done()}
</script>