summaryrefslogtreecommitdiffstats
path: root/layout/tools/reftest/selftest/files/assert.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/tools/reftest/selftest/files/assert.html')
-rw-r--r--layout/tools/reftest/selftest/files/assert.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layout/tools/reftest/selftest/files/assert.html b/layout/tools/reftest/selftest/files/assert.html
new file mode 100644
index 0000000000..c9aedcf116
--- /dev/null
+++ b/layout/tools/reftest/selftest/files/assert.html
@@ -0,0 +1,7 @@
+<script>
+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', 'assert.html', 6);
+</script>