tor-browser

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

nothing.html (758B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <title>Methods that must do nothing: clear(), captureEvents(), and releaseEvents()</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_equals(document.clear(), undefined);
     10 }, "document.clear");
     11 
     12 test(function() {
     13  assert_equals(document.captureEvents(), undefined);
     14 }, "document.captureEvents");
     15 
     16 test(function() {
     17  assert_equals(document.releaseEvents(), undefined);
     18 }, "document.releaseEvents");
     19 
     20 test(function() {
     21  assert_equals(window.captureEvents(), undefined);
     22 }, "window.captureEvents");
     23 
     24 test(function() {
     25  assert_equals(window.releaseEvents(), undefined);
     26 }, "window.releaseEvents");
     27 </script>