tor-browser

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

test-checkloaduri-failure.html (604B)


      1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      2   - License, v. 2.0. If a copy of the MPL was not distributed with this
      3   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      4 <!doctype html>
      5 <html>
      6  <head>
      7    <meta charset="utf-8">
      8    <title>Test loads that fail checkLoadURI</title>
      9    <script>
     10      /* exported testImage */
     11      "use strict";
     12 
     13      function testImage(url) {
     14        const body = document.body;
     15        const image = new Image();
     16        image.src = url;
     17        body.append(image);
     18      }
     19    </script>
     20  </head>
     21  <body>
     22  </body>
     23 </html>