tor-browser

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

browser_assertion.js (260B)


      1 function test() {
      2  const Cc = SpecialPowers.Cc;
      3  const Ci = SpecialPowers.Ci;
      4  let debug = Cc["@mozilla.org/xpcom/debug;1"].getService(Ci.nsIDebug2);
      5  debug.assertion("failed assertion check", "false", "test_assertion.js", 15);
      6  ok(true, "Should pass");
      7 }