tor-browser

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

no-args.html (412B)


      1 <!doctype html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 
      5 <script>
      6 test(() => {
      7  assert_throws_js(TypeError, () => {
      8    navigation.updateCurrentEntry();
      9  }, "no args");
     10 
     11  assert_throws_js(TypeError, () => {
     12    navigation.updateCurrentEntry({});
     13  }, "empty dictionary");
     14 }, "updateCurrentEntry() must throw if state is not given");
     15 </script>