summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/file_bug873229.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/bugs/file_bug873229.js')
-rw-r--r--dom/tests/mochitest/bugs/file_bug873229.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/tests/mochitest/bugs/file_bug873229.js b/dom/tests/mochitest/bugs/file_bug873229.js
new file mode 100644
index 0000000000..e2be3f08a2
--- /dev/null
+++ b/dom/tests/mochitest/bugs/file_bug873229.js
@@ -0,0 +1,6 @@
+// This is a script that will let you get an exception thrown by
+// calling bar() with no arguments, say.
+var foo = "Some string";
+function bar(x) {
+ x.trySomething();
+}