Closed
Bug 499770
Opened 16 years ago
Closed 16 years ago
um.activeUpdate is null in onStopRequest for some edgecases
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
Tracking | Status | |
---|---|---|
status1.9.1 | --- | .2-fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
Details
(Keywords: verified1.9.0.14)
Attachments
(4 files)
2.85 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
4.68 KB,
patch
|
robert.strong.bugs
:
review+
samuel.sidler+old
:
approval1.9.1.2+
dveditz
:
approval1.9.0.14+
|
Details | Diff | Splinter Review |
15.81 KB,
patch
|
Details | Diff | Splinter Review | |
3.98 KB,
patch
|
Details | Diff | Splinter Review |
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "'[JavaScript Error: "um.activeUpdate is null" {file: "file:///c:/moz/_1_mozilla-central/ff-debug/dist/bin/components/nsUpdateService.js" line: 2734}]' when calling method: [nsIRequestObserver::onStopRequest]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "<unknown>" data: yes]
Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #384468 -
Flags: review?(dtownsend)
Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 384468 [details] [diff] [review]
patch rev1 with tests
By directly calling xpcom-shutdown this tests this in every test
Attachment #384468 -
Attachment description: patch rev1 → patch rev1 with tests
Assignee | ||
Updated•16 years ago
|
Component: Add-ons Manager → Application Update
QA Contact: add-ons.manager → application.update
Updated•16 years ago
|
Attachment #384468 -
Flags: review?(dtownsend) → review+
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #384689 -
Flags: review+
Assignee | ||
Comment 4•16 years ago
|
||
Pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/7a8502b70fdf
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Assignee | ||
Comment 5•16 years ago
|
||
Comment on attachment 384689 [details] [diff] [review]
patch as checked in
Drivers, this is a safe, sane, simple fix with tests for an edgecase where the update manager throws during onStopRequest for nsIIncrementalDownload. I'd like to get this for 1.9.1 if there is another RC
Attachment #384689 -
Flags: approval1.9.1?
Assignee | ||
Updated•16 years ago
|
Flags: wanted1.9.1.x?
Whiteboard: [3.5.1?]
Updated•16 years ago
|
Flags: blocking1.9.1.1?
Whiteboard: [3.5.1?]
Comment 6•16 years ago
|
||
Won't block on this, but feel free to request approval1.9.1.1 on the patch (though we might punt until 1.9.1.2 given how small this release is intended to be).
Flags: wanted1.9.1.x?
Flags: wanted1.9.1.x+
Flags: blocking1.9.1.1?
Flags: blocking1.9.1.1-
Assignee | ||
Comment 7•16 years ago
|
||
Comment on attachment 384689 [details] [diff] [review]
patch as checked in
Requesting 1.9.1.1 - drivers, this is a safe, sane, simple fix with tests for an edgecase where the update manager throws during onStopRequest for nsIIncrementalDownload. I'd like to get this for 1.9.1.1
Attachment #384689 -
Flags: approval1.9.1? → approval1.9.1.1?
Assignee | ||
Comment 8•16 years ago
|
||
Comment on attachment 384689 [details] [diff] [review]
patch as checked in
Should also get this in for 1.9.0.13
Attachment #384689 -
Flags: approval1.9.0.13?
Comment 9•16 years ago
|
||
Comment on attachment 384689 [details] [diff] [review]
patch as checked in
Approved for 1.9.0.13, a=dveditz for release-drivers
Attachment #384689 -
Flags: approval1.9.0.13? → approval1.9.0.13+
Assignee | ||
Updated•16 years ago
|
Attachment #384689 -
Flags: approval1.9.1.1? → approval1.9.1.2?
Assignee | ||
Comment 10•16 years ago
|
||
Assignee | ||
Comment 11•16 years ago
|
||
Checked in for 1.9.0.13 / Firefox 3.0.13
Checking in toolkit/mozapps/update/src/nsUpdateService.js.in;
/cvsroot/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in,v <-- nsUpda
teService.js.in
new revision: 1.155; previous revision: 1.154
done
Checking in toolkit/mozapps/update/test/unit/head_update.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/head_update.js,v <-- head_up
date.js
new revision: 1.3; previous revision: 1.2
done
Checking in toolkit/mozapps/update/test/unit/tail_update.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/tail_update.js,v <-- tail_up
date.js
new revision: 1.3; previous revision: 1.2
done
Checking in toolkit/mozapps/update/test/unit/test_0010_general.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0010_general.js,v <-- t
est_0010_general.js
new revision: 1.3; previous revision: 1.2
done
Checking in toolkit/mozapps/update/test/unit/test_0020_general.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0020_general.js,v <-- t
est_0020_general.js
new revision: 1.3; previous revision: 1.2
done
Checking in toolkit/mozapps/update/test/unit/test_0030_general.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0030_general.js,v <-- t
est_0030_general.js
new revision: 1.3; previous revision: 1.2
done
Checking in toolkit/mozapps/update/test/unit/test_0040_general.js.in;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0040_general.js.in,v <--
test_0040_general.js.in
new revision: 1.4; previous revision: 1.3
done
Checking in toolkit/mozapps/update/test/unit/test_0060_manager.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0060_manager.js,v <-- t
est_0060_manager.js
new revision: 1.2; previous revision: 1.1
done
Checking in toolkit/mozapps/update/test/unit/test_0061_manager.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0061_manager.js,v <-- t
est_0061_manager.js
new revision: 1.2; previous revision: 1.1
done
Checking in toolkit/mozapps/update/test/unit/test_0062_manager.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0062_manager.js,v <-- t
est_0062_manager.js
new revision: 1.2; previous revision: 1.1
done
Checking in toolkit/mozapps/update/test/unit/test_0110_general.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0110_general.js,v <-- t
est_0110_general.js
new revision: 1.2; previous revision: 1.1
done
Checking in toolkit/mozapps/update/test/unit/test_0111_general.js;
/cvsroot/mozilla/toolkit/mozapps/update/test/unit/test_0111_general.js,v <-- t
est_0111_general.js
new revision: 1.2; previous revision: 1.1
done
Keywords: fixed1.9.0.13
Updated•16 years ago
|
Attachment #384689 -
Flags: approval1.9.1.2? → approval1.9.1.2+
Comment 12•16 years ago
|
||
Comment on attachment 384689 [details] [diff] [review]
patch as checked in
Approved for 1.9.1.2. a=ss for release-drivers
Please land on mozilla-1.9.1 and use the ".2-fixed" option of the "status1.9.1" flag.
Assignee | ||
Comment 13•16 years ago
|
||
Pushed to mozilla-1.9.1
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/8544fcde14a2
status1.9.1:
--- → .2-fixed
Assignee | ||
Comment 14•16 years ago
|
||
Assignee | ||
Updated•16 years ago
|
Target Milestone: --- → mozilla1.9.2a1
Comment 15•16 years ago
|
||
Robert, could you help us verify this for 3.5.2, or add a comment to that extent?
Assignee | ||
Comment 16•16 years ago
|
||
There aren't steps where you can reproduce this but it does have a test. If you like I can show you the change via an xpcshell test with / without the patch but that seems a bit overkill for what the patch does which is add a null check
Comment 17•15 years ago
|
||
Verified for 1.9.0.14 based on tests passing.
Keywords: fixed1.9.0.14 → verified1.9.0.14
You need to log in
before you can comment on or make changes to this bug.
Description
•