tor-browser

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

URL-createObjectURL-null.html (425B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4  <meta charset='utf-8'>
      5  <title>URL.createObjectURL(null)</title>
      6  <script src="/resources/testharness.js"></script>
      7  <script src="/resources/testharnessreport.js"></script>
      8 </head>
      9 <body>
     10 <div id="log"></div>
     11 <script>
     12 test(function() {
     13    assert_throws_js(TypeError, function() {
     14        window.URL.createObjectURL(null);
     15    });
     16 }, "URL.createObjectURL(null)");
     17 </script>
     18 </body>
     19 </html>