tor-browser

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

test_bug938772.html (697B)


      1 <!doctype html>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=938772
      5 -->
      6 <title>Test for Bug 938772</title>
      7 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      8 <link rel="stylesheet" href="/tests/SimpleTest/test.css">
      9 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=938772">Mozilla Bug 938772</a>
     10 <p id="display"></p>
     11 <iframe id="i"></iframe>
     12 <pre id="test">
     13 <script>
     14 SimpleTest.waitForExplicitFinish();
     15 
     16 i.onload = function() {
     17  ok(!i.contentDocument.getElementById("v").failed,
     18     "Check whether an error was reported");
     19  SimpleTest.finish();
     20 };
     21 i.srcdoc = "<base href='http://basetag/basetag'><video id='v' onerror='v.failed=true'></video>";
     22 </script>