Closed
Bug 362460
Opened 19 years ago
Closed 19 years ago
Search service shouldn't assume that builds with branding directories are "official" builds
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
FIXED
People
(Reporter: Gavin, Assigned: Gavin)
Details
Attachments
(1 file)
816 bytes,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
The search service bases "officialness" on the presence of MOZ_BRANDING_DIRECTORY, which means that builds with branding directories (e.g. the recent 1.9 alpha) are all considered "official", and thus use official search codes. It should use MOZILLA_OFFICIAL and BUILD_OFFICIAL instead.
mconnor says this blocks the 1.9 alpha release, patch in a sec.
Assignee | ||
Comment 1•19 years ago
|
||
This makes a build "official" if one of BUILD_OFFICIAL or MOZILLA_OFFICIAL is defined. I've tested this to make sure it works correctly. The easiest way to test is to run the build and perform a search with Google from the search bar. With an "official" build, the rls param in the resultant search result page should be "rls=org.mozilla:en-US:official", and it should be "rls=org.mozilla:en-US:unofficial" with an unofficial build.
Feel free to land this if I'm not around.
Comment 2•19 years ago
|
||
Comment on attachment 247171 [details] [diff] [review]
patch
looks good, do we need to fix safebrowsing as well?
Attachment #247171 -
Flags: review?(mconnor) → review+
Assignee | ||
Comment 3•19 years ago
|
||
Checked in on the trunk, asked rhelmer to update the alpha tag. I filed bug 362514 for safe browsing.
mozilla/browser/components/search/Makefile.in 1.8
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•