tor-browser

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

window-onload-test.html (684B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 
      6 <script>
      7 window.onload = () => {
      8  test((t) => {
      9    assert_true(true,'This should pass');
     10  }, 'test 1');
     11  test((t) => {
     12    assert_true(false,'This should FAIL');
     13  }, 'test 2');
     14  test((t) => {
     15    assert_true(false,'This should FAIL');
     16  }, 'test 3');
     17 
     18  promise_test(async t => {
     19    assert_true(false,'This should FAIL');
     20  },'promise 1');
     21  promise_test(async t => {
     22    assert_true(false,'This should FAIL');
     23  },'promise 2');
     24  promise_test(async t => {
     25    assert_true(false,'This should FAIL');
     26  },'promise 3');
     27 };
     28 </script>