summaryrefslogtreecommitdiffstats
path: root/toolkit/components/commandlines/test/unit/test_bug666224.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/commandlines/test/unit/test_bug666224.js')
-rw-r--r--toolkit/components/commandlines/test/unit/test_bug666224.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolkit/components/commandlines/test/unit/test_bug666224.js b/toolkit/components/commandlines/test/unit/test_bug666224.js
new file mode 100644
index 0000000000..a53ee3e733
--- /dev/null
+++ b/toolkit/components/commandlines/test/unit/test_bug666224.js
@@ -0,0 +1,6 @@
+function run_test() {
+ var cmdLine = Cu.createCommandLine();
+ try {
+ cmdLine.getArgument(cmdLine.length);
+ } catch (e) {}
+}