| <!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: svg-script-href</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/svg-script-href-framed.sub.html?uuid=${uuid}`; |
| document.body.appendChild(iframe); |
| expect_fetched_onload(uuid, true) |
| .then(compare_with_nonspeculative(uuid, 'svg-script-href', true)) |
| .then(done); |
| </script> |