mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
13 lines
363 B
JavaScript
13 lines
363 B
JavaScript
// Make sure uncompressed files pass crc
|
|
const Cc = Components.classes;
|
|
const Ci = Components.interfaces;
|
|
|
|
function run_test() {
|
|
var file = do_get_file("data/uncompressed.zip");
|
|
var zipReader = Cc["@mozilla.org/libjar/zip-reader;1"].
|
|
createInstance(Ci.nsIZipReader);
|
|
zipReader.open(file);
|
|
zipReader.test("hello");
|
|
zipReader.close();
|
|
}
|