summaryrefslogtreecommitdiffstats
path: root/layout/tools/reftest/selftest/files/crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/tools/reftest/selftest/files/crash.html')
-rw-r--r--layout/tools/reftest/selftest/files/crash.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/layout/tools/reftest/selftest/files/crash.html b/layout/tools/reftest/selftest/files/crash.html
new file mode 100644
index 0000000000..e06c69c06e
--- /dev/null
+++ b/layout/tools/reftest/selftest/files/crash.html
@@ -0,0 +1,8 @@
+<script>
+ /* eslint-disable mozilla/no-define-cc-etc, no-undef */
+ const Cc = SpecialPowers.Cc;
+ const Ci = SpecialPowers.Ci;
+
+ let debug = Cc["@mozilla.org/xpcom/debug;1"].getService(Ci.nsIDebug2);
+ debug.abort("crash.html", 6);
+</script>