Closed
Bug 255617
Opened 21 years ago
Closed 21 years ago
Custom update.rdf ignored at installation of incompatible extension
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
People
(Reporter: bugzilla-mozilla, Assigned: bugs)
References
()
Details
(Keywords: fixed-aviary1.0, Whiteboard: [have patch] need review - ben)
Attachments
(2 files)
1.66 KB,
patch
|
Details | Diff | Splinter Review | |
837 bytes,
patch
|
bugs
:
review+
bugs
:
approval-aviary+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.2) Gecko/20040814 Firefox/0.9.1+
I hope I got this right...
If a user tries to install an extension which is incompatible with the current
version, nsExtensionManager__getItemForID is called to generate an item (line
2273) which is later passed to nsExtensionItemUpdater_checkForUpdates (from 2287
to 2557; from 2571 to 2910;) to check for compatibility updates. The problem is
that this item is missing an updateRDF which causes Firefox to fall back to the
updateService (line 2936) instead of using the provided update.rdf.
Reproducible: Always
Steps to Reproduce:
1. Try to install an incompatible extension with a custom update.rdf.
Actual Results:
Firefox tries to contact the updateService proxy (which isn't online yet) and
the "Incompatible Extension" dialog appears after the timeout.
Expected Results:
The "Incompatible Extension" dialog should appear almost immediately or the
extension should install (if compatibility updates are available).
Patch follows
Comment 2•21 years ago
|
||
Ben, can you take a look at this?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•21 years ago
|
Whiteboard: [have patch]
Updated•21 years ago
|
Attachment #156104 -
Flags: review?(bugs)
Updated•21 years ago
|
Whiteboard: [have patch] → [have patch] need review - ben
Assignee | ||
Comment 3•21 years ago
|
||
Thanks. checked in.
Attachment #158231 -
Flags: review?(bugs)
Updated•21 years ago
|
Keywords: fixed-aviary1.0
Keywords: fixed-aviary1.0
Comment 5•21 years ago
|
||
Let's get this reviewed quick.
Flags: blocking-aviary1.0PR? → blocking-aviary1.0PR+
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 158231 [details] [diff] [review]
follow-up patch
r+a=ben@mozilla.org... landing this with my patch to 258123
Attachment #158231 -
Flags: review?(bugs)
Attachment #158231 -
Flags: review+
Attachment #158231 -
Flags: approval-aviary+
Assignee | ||
Comment 7•21 years ago
|
||
Patch checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Keywords: fixed-aviary1.0
Updated•20 years ago
|
Attachment #156104 -
Flags: review?(bugs)
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•