summaryrefslogtreecommitdiffstats
path: root/toolkit/components/commandlines/test/unit/test_bug666224.js
blob: 8d372097a593c6b1683c28af506ebc44dd916383 (plain)
1
2
3
4
5
6
function run_test() {
    var cmdLine=Components.classes["@mozilla.org/toolkit/command-line;1"].createInstance(Components.interfaces.nsICommandLine);
    try {
        cmdLine.getArgument(cmdLine.length);
    } catch (e) {}
}