tor-browser

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

load-error-events-2.html (970B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <head>
      4 <title>load/error events for classic scripts with a style sheet that is blocking scripts</title>
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script src="resources/load-error-events-helpers.js"></script>
      8 <link rel="help" href="https://html.spec.whatwg.org/multipage/#execute-the-script-block">
      9 <script>
     10 "use strict";
     11 var test5_load = event_test('no src, parser-inserted, has style sheets blocking scripts, script nesting level == 1', false, false);
     12 </script>
     13 
     14 <link rel="stylesheet" href="/common/slow.py"></link>
     15 <!-- This is testing the case where an inline classic script is inserted
     16 by parser while there is an loading stylesheet. Therefore, it is critical to
     17 place a <link rel="stylesheet"> just above the <script> to be tested. -->
     18 <script onload="onLoad(test5_load);" onerror="onError(test5_load);">
     19 "use strict";
     20 onExecute(test5_load);
     21 </script>
     22 </head>