tor-browser

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

resource-selection-invoke-audio-constructor-no-src.html (459B)


      1 <!doctype html>
      2 <title>NOT invoking resource selection with new Audio() sans src</title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <div id=log></div>
      6 <script>
      7 async_test(function(t) {
      8  var a = new Audio();
      9  assert_equals(a.networkState, a.NETWORK_EMPTY);
     10  a.onloadstart = t.step_func(function() { assert_unreached(); });
     11  window.onload = t.step_func(function() { t.done(); });
     12 });
     13 </script>