summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/python/files/browser_assertion.js
blob: 243703206e3d06cb2be98dede5fffc4c7bfb736b (plain)
1
2
3
4
5
6
7
function test() {
  const Cc = SpecialPowers.Cc;
  const Ci = SpecialPowers.Ci;
  let debug = Cc["@mozilla.org/xpcom/debug;1"].getService(Ci.nsIDebug2);
  debug.assertion("failed assertion check", "false", "test_assertion.js", 15);
  ok(true, "Should pass");
}