summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/python/files/browser_crash.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mochitest/tests/python/files/browser_crash.js')
-rw-r--r--testing/mochitest/tests/python/files/browser_crash.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/mochitest/tests/python/files/browser_crash.js b/testing/mochitest/tests/python/files/browser_crash.js
new file mode 100644
index 0000000000..54e431ed7f
--- /dev/null
+++ b/testing/mochitest/tests/python/files/browser_crash.js
@@ -0,0 +1,7 @@
+function test() {
+ const Cc = SpecialPowers.Cc;
+ const Ci = SpecialPowers.Ci;
+ let debug = Cc["@mozilla.org/xpcom/debug;1"].getService(Ci.nsIDebug2);
+ debug.abort("test_crash.js", 5);
+ ok(false, "Should pass");
+} \ No newline at end of file