Closed Bug 484220 Opened 15 years ago Closed 9 years ago

pointless file move in search service

Categories

(Firefox :: Search, defect)

defect
Not set
minor

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mconnor, Unassigned)

Details

http://mxr.mozilla.org/mozilla-central/source/toolkit/components/search/nsSearchService.js#2853

Should just be a remove, since the _serializeToFile() piece is going to overwrite the file anyway, so we're just burning cycles.
As line numbers change over the years: Mike, is this still an issue?
If so, can you paste the corresponding code line here please?
Yes, this is still a problem. Hg lets you see files from the past, the link in question is:

http://hg.mozilla.org/mozilla-central/annotate/198155c14694/toolkit/components/search/nsSearchService.js#l2853

which still exists on trunk.
We should remove this code (bug 862137), not fix it.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.