Closed
Bug 515232
Opened 15 years ago
Closed 13 years ago
"distribution" searchplugins dont work for complex general.useragent.locale
Categories
(Firefox :: Search, defect)
Tracking
()
RESOLVED
FIXED
Firefox 14
People
(Reporter: asac, Assigned: glandium)
Details
Attachments
(1 file, 3 obsolete files)
2.13 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
currently the localized searchengines feature for "distribution/searchplugins" is broken for builds that use a complex pref for general.useragent.locale - which is what we don in ubuntu
Also its not possible to overload searchplugins in the "common" directory in the locale folder, which could be fixed by changing the order of the searchplugindirs returned in browser/components/dirprovider/nsBrowserDirectoryProvider.cpp ... which I would like to address in the same patch.
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
Attachment #399299 -
Attachment is obsolete: true
Updated•15 years ago
|
Assignee: nobody → asac
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•15 years ago
|
||
Attachment #399302 -
Attachment is obsolete: true
Assignee | ||
Comment 4•13 years ago
|
||
Only the first paragraph of comment 0 still applies. Instead of using Alex's approach of using chrome registry, I'm just using GetComplexValue, fallbacking to GetChar if that fails, which is what all other code paths getting general.user-agent.locale are using.
Assignee | ||
Updated•13 years ago
|
Attachment #399338 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Assignee: asac → mh+mozilla
Comment 5•13 years ago
|
||
Comment on attachment 600753 [details] [diff] [review]
Try getting general.useragent.locale as a complex value first in DirectoryProvider.cpp
It might be nice to make this use mozilla::Preferences while we're changing this.
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 600753 [details] [diff] [review]
Try getting general.useragent.locale as a complex value first in DirectoryProvider.cpp
[It's annoying when hg bzexport silently doesn't put the requested review flag for some reason]
Attachment #600753 -
Flags: review?(benjamin)
Assignee | ||
Comment 7•13 years ago
|
||
(In reply to Gavin Sharp (use gavin@gavinsharp.com for email) from comment #5)
> Comment on attachment 600753 [details] [diff] [review]
> Try getting general.useragent.locale as a complex value first in
> DirectoryProvider.cpp
>
> It might be nice to make this use mozilla::Preferences while we're changing
> this.
Unfortunately, mozilla::Preferences is an internal API, and as such is not available from browser.
Updated•13 years ago
|
Attachment #600753 -
Flags: review?(benjamin) → review+
Comment 8•13 years ago
|
||
Comment on attachment 600753 [details] [diff] [review]
Try getting general.useragent.locale as a complex value first in DirectoryProvider.cpp
of course - I forgot this was in browsercomps
Assignee | ||
Comment 9•13 years ago
|
||
Comment 10•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 14
You need to log in
before you can comment on or make changes to this bug.
Description
•