Closed
Bug 925892
Opened 11 years ago
Closed 11 years ago
add "channel=sb" parameter to Google plugin to distinguish search bar searches
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
FIXED
Firefox 27
People
(Reporter: Gavin, Assigned: Gavin)
References
Details
Attachments
(1 file, 1 obsolete file)
5.38 KB,
patch
|
MattN
:
review+
|
Details | Diff | Splinter Review |
Currently search bar searches cannot easily be distinguished from the others, apart from "lack of a 'channel' param". It would be better for that to be more explicit.
Assignee | ||
Comment 1•11 years ago
|
||
This adds a channel=sb parameter to searches triggered by our search bar.
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
Summary: add "channel=searchbar" parameter to Google plugin to distinguish search bar searches → add "channel=sb" parameter to Google plugin to distinguish search bar searches
Comment 2•11 years ago
|
||
Comment on attachment 816046 [details] [diff] [review]
patch
Review of attachment 816046 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/locales/en-US/searchplugins/google.xml
@@ +25,5 @@
> #endif
> <MozParam name="channel" condition="purpose" purpose="contextmenu" value="rcs"/>
> <MozParam name="channel" condition="purpose" purpose="keyword" value="fflb"/>
> <MozParam name="channel" condition="purpose" purpose="homepage" value="np"/>
> + <MozParam name="channel" condition="purpose" purpose="searchbar" value="sb"/>
Nit: s/searchbar/searchbox/ throughout the changes.
Attachment #816046 -
Flags: feedback+
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #816046 -
Attachment is obsolete: true
Attachment #816110 -
Flags: review?(mnoorenberghe+bmo)
Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Comment on attachment 816110 [details] [diff] [review]
patch
Review of attachment 816110 [details] [diff] [review]:
-----------------------------------------------------------------
Sorry about changing my mind but after seeing that FHR is already using "searchbar" and it's also the id of the binding I guess we should be consistent. r=me with the change.
While reviewing this patch, I found that the command line search argument is a remaining getSubmission call without a purpose argument. I filed bug 925967 to add a purpose and start warning when one is missing.
Attachment #816110 -
Flags: review?(mnoorenberghe+bmo) → review+
Comment 6•11 years ago
|
||
I don't think it makes sense to send the extra seven characters on billions of requests to be consistent with our internal code. =sb is what we should use in this case, unless Google says otherwise.
Comment 7•11 years ago
|
||
(In reply to Mike Connor [:mconnor] from comment #6)
> I don't think it makes sense to send the extra seven characters on billions
> of requests to be consistent with our internal code. =sb is what we should
> use in this case, unless Google says otherwise.
"sb" is what gets sent in the URL. The internal purpose argument maps to a value provided by the search engine. See the snippet in comment 2.
Assignee | ||
Comment 8•11 years ago
|
||
Joanne, can you confirm that we're clear to make this change on Nightly (i.e. that it won't cause any trouble on Google's end)?
Flags: needinfo?(jnagel)
Comment 9•11 years ago
|
||
I have shared the information with Google and just waiting for confirmation that this will not be an issue on their end. Thanks, Joanne
Flags: needinfo?(jnagel)
Comment 10•11 years ago
|
||
Hi Gavin, Google's technical team has confirmed the channel "sb". Once you have a timeline that I can share with them, could you let me know? Thanks, Joanne
Assignee | ||
Comment 11•11 years ago
|
||
Target Milestone: --- → Firefox 27
Comment 12•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•