Bug 387096 - Update nsIZipEntry.close() documentation. r=Yoric
authorCykesiopka <cykesiopka@hotmail.com>
Fri, 08 Mar 2013 08:30:13 -0500
changeset 124217 31b28458cee6efbed5ec48d5dbf6f513af88e6af
parent 124216 f3a0fe13a11aa5a01cf20f679f4e1d39440446a4
child 124218 893cf3614356c4b20bcb4855736ce627261de811
push id24295
push userryanvm@gmail.com
push dateFri, 08 Mar 2013 13:29:46 +0000
treeherdermozilla-inbound@2c4a8bdb41eb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs387096
milestone22.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 387096 - Update nsIZipEntry.close() documentation. r=Yoric
modules/libjar/nsIZipReader.idl
--- a/modules/libjar/nsIZipReader.idl
+++ b/modules/libjar/nsIZipReader.idl
@@ -72,16 +72,19 @@ interface nsIZipReader : nsISupports
      * The file that represents the zip with which this zip reader was
      * initialized.
      */
     readonly attribute nsIFile file;
 
     /**
      * Closes a zip reader. Subsequent attempts to extract files or read from
      * its input stream will result in an error.
+     *
+     * Subsequent attempts to access a nsIZipEntry obtained from this zip
+     * reader will cause unspecified behavior.
      */
     void close();
 
     /**
      * Tests the integrity of the archive by performing a CRC check 
      * on each item expanded into memory.  If an entry is specified
      * the integrity of only that item is tested.  If null (javascript)
      * or EmptyCString() (c++) is passed in the integrity of all items