load-error-events-3.html (835B)
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 and script nesting level > 1</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 </head> 10 <script> 11 "use strict"; 12 var test6_load = event_test('no src, parser-inserted, has style sheets blocking scripts, script nesting level == 2', 13 false, false); 14 15 document.write( 16 `<link rel="stylesheet" href="/common/slow.py"></link> 17 <script onload="onLoad(test6_load);" 18 onerror="onError(test6_load);"> 19 "use strict"; 20 onExecute(test6_load); 21 </scr` + `ipt>`); 22 </script>