Closed
Bug 554265
Opened 16 years ago
Closed 15 years ago
Search engine icons are not downloaded if searchplugin is readonly
Categories
(Firefox :: Search, defect)
Tracking
()
RESOLVED
FIXED
Firefox 3.7a5
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file, 2 obsolete files)
|
543 bytes,
patch
|
rflint
:
review+
|
Details | Diff | Splinter Review |
As per the comment in _setIcon:
// No use downloading the icon if the engine file is read-only
My guess is this comment predates the search.json cache, and nowadays, downloading the icon works even if you can't overwrite the searchplugin file.
| Assignee | ||
Updated•16 years ago
|
Attachment #434191 -
Attachment is patch: true
Attachment #434191 -
Attachment mime type: application/octet-stream → text/plain
Attachment #434191 -
Flags: review?(benjamin)
| Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → mh+mozilla
Comment 2•16 years ago
|
||
Benjamin really isn't the right reviewer for that. Looks good to me, but I'll defer r+ to Ryan (rflint@mozilla).
| Assignee | ||
Updated•16 years ago
|
Attachment #434191 -
Flags: review?(benjamin) → review?(rflint)
Comment 3•16 years ago
|
||
Comment on attachment 434191 [details] [diff] [review]
Patch
>diff --git a/toolkit/components/search/nsSearchService.js b/toolkit/components/search/nsSearchService.js
>@@ -1453,47 +1453,44 @@ Engine.prototype = {
>- // No use downloading the icon if the engine file is read-only
>- if (!this._readOnly) {
The cache can be disabled, so leave a conditional here and make it return early if (this._readOnly && !getBoolPref(BROWSER_SEARCH_PREF + "cache.enabled", true)).
Thanks for the patch!
Attachment #434191 -
Flags: review?(rflint) → review+
| Assignee | ||
Comment 5•16 years ago
|
||
How about this ?
Attachment #434191 -
Attachment is obsolete: true
Attachment #434192 -
Attachment is obsolete: true
Attachment #434496 -
Flags: review?
| Assignee | ||
Updated•16 years ago
|
Attachment #434496 -
Flags: review? → review?(rflint)
Updated•16 years ago
|
Attachment #434496 -
Flags: review?(rflint) → review+
| Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
| Assignee | ||
Updated•15 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 6•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a5
You need to log in
before you can comment on or make changes to this bug.
Description
•