2 const zipCache
= Components
.classes
["@mozilla.org/libjar/zip-reader-cache;1"]
3 .createInstance(Components
.interfaces
.nsIZipReaderCache
);
7 do_throw("Shouldn't get here!");
8 } catch (e
if ((e
instanceof Components
.interfaces
.nsIException
) &&
9 (e
.result
== Components
.results
.NS_ERROR_INVALID_POINTER
))) {
10 // do nothing, this test passes