Closed Bug 424661 Opened 18 years ago Closed 18 years ago

Don't re-write the search engine list on every load

Categories

(Camino Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stuart.morgan+bugzilla, Assigned: murph)

Details

(Keywords: fixed1.8.1.15)

Attachments

(1 file, 1 obsolete file)

6.35 KB, patch
mikepinkerton
: superreview+
Details | Diff | Splinter Review
Right now the search engine list is re-written every time it's loaded, but since the only time it should actually change during load is the first launch or when it is edited manually, that's going to be unnecessary work most of the time. We should keep track of whether any change has been made, and only write it if so.
Assignee: nobody → murph
Attached patch Patch (obsolete) — — Splinter Review
Additionally, the patch allows us to skip checking for duplicates and a valid preferred engine when the default information is loaded from the bundle.
Attachment #311580 - Flags: review?(stuart.morgan)
Comment on attachment 311580 [details] [diff] [review] Patch >+- (void)useDefaultSearchEngineInformationFromBundle; s/use/load/ so the specific behavior is clear. r=me with that change.
Attachment #311580 - Flags: review?(stuart.morgan) → review+
Attached patch Patch, v1.1 — — Splinter Review
Updated to reflect comment #2
Attachment #311580 - Attachment is obsolete: true
Attachment #311604 - Flags: superreview?(mikepinkerton)
Comment on attachment 311604 [details] [diff] [review] Patch, v1.1 sr=pink
Attachment #311604 - Flags: superreview?(mikepinkerton) → superreview+
Checked in on the trunk and MOZILLA_1_8_BRANCH.
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1.14
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: