summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/syntax/speculative-parsing/generated/page-load/img-src.tentative.html
blob: fda270a9f2c9a92b2b20af8b123bb7f19119ac65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<!-- DO NOT EDIT. This file has been generated. Source:
     /html/syntax/speculative-parsing/tools/generate.py
-->
<meta charset=utf-8>
<title>Speculative parsing, page load: img-src</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/common/utils.js></script>
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script>
<body>
<script>
  setup({single_test: true});
  const uuid = token();
  const iframe = document.createElement('iframe');
  iframe.src = `resources/img-src-framed.sub.html?uuid=${uuid}`;
  document.body.appendChild(iframe);
  expect_fetched_onload(uuid, true)
    .then(compare_with_nonspeculative(uuid, 'img-src', true))
    .then(done);
</script>