tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

template-shadowrootmode-script-src.tentative.sub.html (1077B)


      1 <!DOCTYPE html>
      2 <!-- DO NOT EDIT. This file has been generated. Source:
      3     /html/syntax/speculative-parsing/tools/generate.py
      4 -->
      5 <meta charset=utf-8>
      6 <title>Speculative parsing, document.write(): template-shadowrootmode-script-src</title>
      7 <script src=/resources/testharness.js></script>
      8 <script src=/resources/testharnessreport.js></script>
      9 <script src=/common/utils.js></script>
     10 <script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script>
     11 <script>
     12  setup({single_test: true});
     13  const uuid = token();
     14  expect_fetched_onload(uuid, true)
     15    .then(compare_with_nonspeculative(uuid, 'template-shadowrootmode-script-src', true))
     16    .then(done);
     17  document.write(`
     18    <script src="/common/slow.py?delay=1500"><\/script>
     19    <script>
     20     document.write('<plaintext>');
     21    <\/script>
     22    <\!-- speculative case in document.write -->
     23    <div><template shadowrootmode="closed"><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&amp;uuid=${uuid}&amp;encodingcheck=&Gbreve;"><\/script></template></div>
     24  `);
     25 </script>