Closed Bug 308099 Opened 19 years ago Closed 19 years ago

Cleanup of the xmlHttpRequest code in nsExtensionManager.js.in

Categories

(Toolkit :: Add-ons Manager, defect)

1.8.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

Details

(Keywords: fixed1.8)

Attachments

(1 file)

This is a followup bug to address the review comments in bug 307235 that were
made after checkin for 1.8b4
Attached patch patchSplinter Review
This addresses everything from bug 307235 except I kept the QI in the error
handler since I recall not always having a channel in all cases (e.g. local
file). I can check that later if you like and I noticed nsUpdateService.js.in
handles this the same way.
Attachment #195726 - Flags: review?(benjamin)
Attachment #195726 - Flags: review?(benjamin) → review+
Checked in on trunk

Checking in mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in;
/cvsroot/mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in,v  <--
 nsExtensionManager.js.in
new revision: 1.151; previous revision: 1.150
done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Attachment #195726 - Flags: approval1.8b5?
Comment on attachment 195726 [details] [diff] [review]
patch

>Index: toolkit/mozapps/extensions/src/nsExtensionManager.js.in

>   onXMLError: function(aEvent, aItem) {
>+    var request = event.target;

s/event/aEvent/, right?
Thanks Gavin!
Attachment #195726 - Flags: approval1.8b5? → approval1.8b5+
Checked in on MOZILLA_1_8_BRANCH

Checking in mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in;
/cvsroot/mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in,v  <--
 nsExtensionManager.js.in
new revision: 1.144.2.7; previous revision: 1.144.2.6
done
Keywords: fixed1.8
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: