Closed
Bug 208842
Opened 22 years ago
Closed 22 years ago
[AxPlugin] update .xpi installer to install nsAxSecurityPolicy.js and activex.js on Mozilla 1.4
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: adamlock, Assigned: adamlock)
Details
Attachments
(1 file, 1 obsolete file)
|
5.45 KB,
patch
|
dbradley
:
review+
|
Details | Diff | Splinter Review |
Update the install.js and xpi packager so that an ActiveX installer may easily
enable Mozilla 1.4 installs. This requires installing activex.js and
nsAxSecurityPolicy.js as well as more stringent version checking.
Install activex.js and nsAxSecurityPolicy.js in the xpi package
Comment on attachment 125458 [details] [diff] [review]
Patch
Can I have an r/sr on this patch to update the XPI installer for the plugin to
include the security policy and settings files?
Thanks
Attachment #125458 -
Flags: superreview?(alecf)
Attachment #125458 -
Flags: review?(dbradley)
Comment 3•22 years ago
|
||
Comment on attachment 125458 [details] [diff] [review]
Patch
sr=alecf
I'm surprised there isn't an easier way, like adding these files to a manifest
file somewhere.
Attachment #125458 -
Flags: superreview?(alecf) → superreview+
Comment 4•22 years ago
|
||
Comment on attachment 125458 [details] [diff] [review]
Patch
Does cancelInstall return? And if it does do you want to continue to install
the other files?
Comment on attachment 125458 [details] [diff] [review]
Patch
I'm going to cancel the r/sr request and rewrite this thing. It could be
smaller and I think it shouldn't cancelInstall and then call performInstall. I
think the XPInstaller is smart enough to do the right thing but it doesn't look
right.
Attachment #125458 -
Flags: superreview+
Attachment #125458 -
Flags: review?(dbradley)
I rewrote the installer to make use of JS arrays and things to collapse some of
these statements down. I've also made it much more stringent in checking error
codes so that it won't call performInstall unless everything succeeds.
Attachment #125458 -
Attachment is obsolete: true
Comment on attachment 125523 [details] [diff] [review]
install.js
David, can you review this rewritten install.js. I collapsed down the steps
into a loop that reads an array of objects representing each file to install.
I've also gotten put a single if / else test to performInstall / cancelInstall
at the bottom dependent on the value of err so both can't be called.
Attachment #125523 -
Flags: review?(dbradley)
Comment 8•22 years ago
|
||
Comment on attachment 125523 [details] [diff] [review]
install.js
r=dbradley
Geesh, you'd think size calculation and space available determination would be
built into the install system
Attachment #125523 -
Flags: review?(dbradley) → review+
Fix is checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•