Closed
Bug 386534
Opened 18 years ago
Closed 18 years ago
FUEL: removeEventListener takes three params (NS_ERROR_XPC_NOT_ENOUGH_ARGS on shutdown)
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: asqueella, Assigned: mfinkle)
References
()
Details
Attachments
(1 file)
2.04 KB,
patch
|
Gavin
:
review+
|
Details | Diff | Splinter Review |
See the URL. You're missing a required third parameter (should be true, it seems).
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•18 years ago
|
||
Assignee: nobody → mark.finkle
Assignee | ||
Updated•18 years ago
|
Attachment #271119 -
Flags: review?(gavin.sharp)
Comment 2•18 years ago
|
||
Comment on attachment 271119 [details] [diff] [review]
added missing 3rd params to removeEventListener
>Index: fuelApplication.js
>- if ((aData == "item-uninstalled") &&
>- (aSubject instanceof Ci.nsIUpdateItem) &&
>- (aSubject.id == this._item.id))
>+ if ((aSubject instanceof Ci.nsIUpdateItem) && (aSubject.id == this._item.id))
> {
>- this._events.dispatch("uninstall", this._item.id);
>+ if (aData == "item-uninstalled")
>+ this._events.dispatch("uninstall", this._item.id);
I'd rather you not make these changes. r=me with this hunk removed.
Attachment #271119 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 3•18 years ago
|
||
whoops. removed the extra hunk before landing.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•