Feature: ability to read file size in .xpi archive

RESOLVED WONTFIX

Status

Core Graveyard
Installer: XPInstall Engine
P3
enhancement
RESOLVED WONTFIX
18 years ago
3 years ago

People

(Reporter: David Epstein, Assigned: dveditz)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
Currently, we can obtain the file size of a file already installed by using 
File.size(). It would be nice to be able to obtain that info *before* the 
archive contents are installed. That way, a script writer can ascertain whether 
or not there is enough room on the harddrive to install it. 

Note: if you list out the contents of the archive (even before unzipping it), 
the file sizes can be obtained. In UNIX, do an "unzip -v". It also lists out 
time stamps as well, so that could be useful as well (e.g. for File.modDate()). 
I'll leave that for another enhancement request.
(Assignee)

Updated

17 years ago
Status: NEW → ASSIGNED
(Assignee)

Comment 1

10 years ago
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.