summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/120.html
blob: d6af5d02e1b980af590d1ab413ad5a276f78bae2 (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>