Closed
Bug 570173
Opened 14 years ago
Closed 14 years ago
Errors from findUpdates aren't passed out to the listener correctly
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla2.0b1
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: mossop, Assigned: mossop)
References
Details
(Whiteboard: [AddonsRewrite])
Attachments
(1 file, 2 obsolete files)
11.40 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
The error value should be passed in onUpdateFinished and we should still send all the other events in the case of an error.
Assignee | ||
Comment 1•14 years ago
|
||
Found a couple of things while writing the docs and this test. We weren't throwing the sensible error on http errors and when there was an error onNoCompatibilityUpdate was not getting sent. We also have the error code being passed on the wrong event in some cases. I've also fixed bug 553869 here. It makes sense that the error codes from findUpdates should be defined on AddonManager even if they do match those on AddonUpdateChecker as that is what we use internally.
Attachment #449300 -
Flags: review?(robert.bugzilla)
Assignee | ||
Updated•14 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•14 years ago
|
||
This one actually passes all tests. test_bug384052.js was a little broken, it should never find an update and should verify that there was an error (since the url it tries to use doesn't exist as we don't start the test server).
Attachment #449300 -
Attachment is obsolete: true
Attachment #449320 -
Flags: review?(robert.bugzilla)
Attachment #449300 -
Flags: review?(robert.bugzilla)
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 449320 [details] [diff] [review] patch rev 2 Bah, still not quite right.
Attachment #449320 -
Attachment is obsolete: true
Attachment #449320 -
Flags: review?(robert.bugzilla)
Assignee | ||
Comment 4•14 years ago
|
||
Ok final one. Forgot that we can't label the checkCert failure as a security error since then it wouldn't match all the other ssl related errors so might as well just lump them all as download errors.
Attachment #449349 -
Flags: review?(robert.bugzilla)
Updated•14 years ago
|
Attachment #449349 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Comment 5•14 years ago
|
||
Landed: http://hg.mozilla.org/mozilla-central/rev/9ec599d9a1f0
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Flags: in-litmus-
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Updated•14 years ago
|
Target Milestone: mozilla1.9.3a5 → mozilla1.9.3
Comment 6•14 years ago
|
||
Marking as verified fixed based on check-in and a green tinderbox in our area.
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Target Milestone: mozilla1.9.3 → mozilla1.9.3a6
You need to log in
before you can comment on or make changes to this bug.
Description
•