Closed
Bug 454570
Opened 16 years ago
Closed 16 years ago
nsSearchService.js stores document and element on its global object
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
FIXED
Firefox 3.1b1
People
(Reporter: peterv, Assigned: peterv)
References
Details
(Keywords: fixed1.9.0.4)
Attachments
(1 file)
991 bytes,
patch
|
Gavin
:
review+
dveditz
:
approval1.9.0.4+
|
Details | Diff | Splinter Review |
nsSearchService.js stores a document and an element on its global object because of missing |var|s. We're keeping those objects alive for the duration of the app with no reason. It might also cause leaks so we should probably also land this on branch. Note that this will definitely cause leaks once bug 335998 has landed.
Attachment #337862 -
Flags: review?(gavin.sharp)
Updated•16 years ago
|
Attachment #337862 -
Flags: review?(gavin.sharp) → review+
Comment 1•16 years ago
|
||
Comment on attachment 337862 [details] [diff] [review] v1 doh!
Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•16 years ago
|
Attachment #337862 -
Flags: approval1.9.0.3?
Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 337862 [details] [diff] [review] v1 This is a trivial fix, it makes debugging leaks easier and it might avoid some leaks.
Comment 3•16 years ago
|
||
This technically doesn't match the new branch criteria and there's no way to test/verify it. On the other hand adding "var " is braindead simple. mconnor?
Comment 4•16 years ago
|
||
Comment on attachment 337862 [details] [diff] [review] v1 Approved for 1.9.0.4, a=dveditz for release-drivers
Attachment #337862 -
Flags: approval1.9.0.4? → approval1.9.0.4+
You need to log in
before you can comment on or make changes to this bug.
Description
•