1 // Regression test for bug 336691 - nsZipArchive::Test shouldn't try to ExtractFile on directories.
2 const Cc = Components.classes;
3 const Ci = Components.interfaces;
6 var file = do_get_file("modules/libjar/test/unit/data/test_bug336691.zip");
7 var zipReader = Cc["@mozilla.org/libjar/zip-reader;1"].
8 createInstance(Ci.nsIZipReader);
10 zipReader.test(null); // We shouldn't crash here.