diff options
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/html/syntax/speculative-parsing/generated/document-write/base-href-script-src.tentative.sub.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/syntax/speculative-parsing/generated/document-write/base-href-script-src.tentative.sub.html b/testing/web-platform/tests/html/syntax/speculative-parsing/generated/document-write/base-href-script-src.tentative.sub.html new file mode 100644 index 0000000000..23d2777c63 --- /dev/null +++ b/testing/web-platform/tests/html/syntax/speculative-parsing/generated/document-write/base-href-script-src.tentative.sub.html @@ -0,0 +1,25 @@ +<!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, document.write(): base-href-script-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> +<script> + setup({single_test: true}); + const uuid = token(); + expect_fetched_onload(uuid, true) + .then(compare_with_nonspeculative(uuid, 'base-href-script-src', true)) + .then(done); + document.write(` + <script src="/common/slow.py?delay=1500"><\/script> + <script> + document.write('<plaintext>'); + <\/script> + <\!-- speculative case in document.write --> + <base href=//{{domains[www1]}}:{{ports[http][0]}}><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"><\/script> + `); +</script> |