meta-charset-script-src.tentative.sub.html (2041B)
1 <!DOCTYPE html> 2 <!-- DO NOT EDIT. This file has been generated. Source: 3 /html/syntax/speculative-parsing/tools/generate.py 4 --> 5 <!-- no meta charset --> 6 <!-- (padding to exceed 1024 bytes processed by the character encoding scanner) --> 7 <!-- --> 8 <!-- --> 9 <!-- --> 10 <!-- --> 11 <!-- --> 12 <!-- --> 13 <!-- --> 14 <!-- --> 15 <!-- --> 16 <title>Speculative parsing, document.write(): meta-charset-script-src</title> 17 <script src=/resources/testharness.js></script> 18 <script src=/resources/testharnessreport.js></script> 19 <script src=/common/utils.js></script> 20 <script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> 21 <script> 22 setup({single_test: true}); 23 const uuid = token(); 24 expect_fetched_onload(uuid, true) 25 .then(compare_with_nonspeculative(uuid, 'meta-charset-script-src', true)) 26 .then(done); 27 document.write(` 28 <script src="/common/slow.py?delay=1500"><\/script> 29 <script> 30 document.write('<plaintext>'); 31 <\/script> 32 <\!-- speculative case in document.write --> 33 <meta\ charset=windows-1254><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"><\/script> 34 `); 35 </script>