summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/script-onload-insertion-point.html
blob: ce3ddeee65ff9924554b9d8be0b1d1b205f020a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
<meta charset=utf-8>
<title>Test that the insertion point is defined in the load event of a parser-inserted script.</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
  var t = async_test("");
  var writeDone = t.step_func_done(function(text) {
    assert_equals(text, "Some text");
  });
</script>
<iframe src="support/script-onload-insertion-point-helper.html"></iframe>