tor-browser

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

test_bug1259588.html (406B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>Test for Bug 1259588</title>
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <div id="log"></div>
      7 <script>
      8 test(function() {
      9  assert_throws(new TypeError, function() {
     10    new File("");
     11  }, "new File(\"\") should throw TypeError exception");
     12 }, "Test new File(\"\") should throw exception");
     13 </script>