tor-browser

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

139.html (719B)


      1 <!DOCTYPE html>
      2 <html><head>
      3  <title>scheduler: SVG script nested external in inline</title>
      4  <script src="/resources/testharness.js"></script>
      5  <script src="/resources/testharnessreport.js"></script>
      6  <script src="testlib/testlib.js"></script>
      7 </head>
      8 <div id="log"></div>
      9 <script>
     10  var t = async_test();
     11 </script>
     12 <svg>
     13 <script>
     14 t.step(function() {
     15 log("inline script #1");
     16 var a = {
     17  <script xlink:href="scripts/include-1.js">
     18    t.step(function() {assert_unreached()})
     19  </script>
     20 a:1}
     21 log("end inline script #1");
     22 });
     23 </script>
     24 </svg>
     25 <script>
     26 onload = t.step_func(function() {
     27  assert_array_equals(eventOrder, ["external script #1", "inline script #1", "end inline script #1"]);
     28  t.done();
     29 });
     30 </script>