Closed
Bug 551283
Opened 15 years ago
Closed 15 years ago
Suspicious and possibly unused code in updates.js updateListener.onProgress
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
People
(Reporter: mstange, Assigned: robert.strong.bugs)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
Dolske
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
robert.strong.bugs
:
review+
christian
:
approval1.9.2.7-
|
Details | Diff | Splinter Review |
http://hg.mozilla.org/mozilla-central/file/5f4acba26bdc/toolkit/mozapps/update/content/updates.js#l565
That function has this code:
var pm = document.getElementById("checkingProgress");
checkingProgress.setAttribute("mode", "normal");
checkingProgress is not defined in this function and pm is not used. Is this code called at all?
Assignee | ||
Comment 1•15 years ago
|
||
Thanks for catching that!
Assignee: nobody → robert.bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 2•15 years ago
|
||
Damn... that code has been that way since 6/6/2005!
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/mozapps/update/content/updates.js&rev=1.83&mark=570#570
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #431574 -
Flags: review?(dolske)
Reporter | ||
Comment 4•15 years ago
|
||
It might not matter much, but I'd prefer pm.mode = ... and pm.value = ...
Setting the value property will send an accessibility event, setting the attribute won't.
Were you able to trigger a "checkingProgress is undefined" kind of error?
Assignee | ||
Comment 5•15 years ago
|
||
Will do... I wasn't able to trigger it likely due to it completing the download before the event and I don't have the time to investigate this thoroughly atm with the Lorentz and Quarter 1 goals work.
Assignee | ||
Comment 6•15 years ago
|
||
Attachment #431574 -
Attachment is obsolete: true
Attachment #431601 -
Flags: review?(dolske)
Attachment #431574 -
Flags: review?(dolske)
Assignee | ||
Updated•15 years ago
|
Attachment #431601 -
Attachment is obsolete: true
Attachment #431601 -
Flags: review?(dolske)
Assignee | ||
Comment 7•15 years ago
|
||
Attachment #431602 -
Flags: review?(dolske)
Updated•15 years ago
|
Attachment #431602 -
Flags: review?(dolske) → review+
Assignee | ||
Comment 8•15 years ago
|
||
Pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/6960c848f6e1
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Flags: in-testsuite-
Assignee | ||
Comment 9•14 years ago
|
||
Simple patch that I'd like to get this for Firefox 3.6.5.
Attachment #449083 -
Flags: review+
Attachment #449083 -
Flags: approval1.9.2.5?
Comment 10•14 years ago
|
||
Comment on attachment 449083 [details] [diff] [review]
1.9.2 patch
We will not be taking this for 3.6.6. Moving approval request forward.
If you disagree, send me an email.
Attachment #449083 -
Flags: approval1.9.2.7?
Attachment #449083 -
Flags: approval1.9.2.6-
Attachment #449083 -
Flags: approval1.9.2.5?
Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 449083 [details] [diff] [review]
1.9.2 patch
Resetting request so I get the approval email if this gets approved
Attachment #449083 -
Flags: approval1.9.2.7?
Assignee | ||
Updated•14 years ago
|
Attachment #449083 -
Flags: approval1.9.2.7?
Assignee | ||
Comment 12•14 years ago
|
||
Comment on attachment 449083 [details] [diff] [review]
1.9.2 patch
I'm going to add this to a rollup patch in Bug 576939 for 1.9.2
Attachment #449083 -
Flags: approval1.9.2.8?
Assignee | ||
Comment 13•14 years ago
|
||
Fixed on 1.9.2 for Firefox 3.6.9 by bug 576939.
You need to log in
before you can comment on or make changes to this bug.
Description
•