An interface that describes an object representing a patch file that can be downloaded and applied to a version of this application so that it can be updated.
Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)
nsIDOMElement serialize(in nsIDOMDocument updates);
|The final |
URL this patch was being downloaded from.
|The hash function to use when determining the integrity of the patch file. |
|The value of the hash function named in |
hashFunction that should be computed if the file is not corrupt.
true if this patch is currently selected as the patch to be downloaded and installed for this update transaction.
false if another update is selected.
|The size of the patch file in bytes. |
|The state of this patch. |
|The type of patch represented by the object: |
- A binary difference between two application versions.
- A complete patch containing all the replacement files to update to the new version.
|The URL from which the patch was downloaded. |
Serializes the patch object into a DOM element.
in nsIDOMDocument updates
- The DOM document into which to serialize the patch.
The patch object serialized into an