Closed
Bug 903084
Opened 11 years ago
Closed 11 years ago
Add Bing as a general search provider for specified locales for Fennec
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox26+ fixed, firefox27 verified, b2g-v1.2 fixed, fennec25+)
VERIFIED
FIXED
Firefox 27
People
(Reporter: krudnitski, Assigned: krudnitski)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
blassey
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
(deleted),
application/zip
|
Details |
Can we look at adding Bing as a general search provider for the following locales: en-US, en-GB, de, fr, es-ES.
(If we get en-CA miraculously in time, we would also want Bing included for that locale as well.)
*Please let me know which are actually used, and whether this is enough information to go upon or if more info from Bing is required.*
Bing mobile form code = MOZMBA We just switch out MOZSBR in the search string (i.e. http://www.bing.com/search?q=whatever&pc=MOZI&form=MOZSBR
I would like to see Bing simply added to our list so that it falls below 'Google'.
ie for en-US:
Google
Bing
<Yahoo - bug 903082>
Amazon
Twitter
Wikipedia
Please test for both phones and tablets.
The release target is Fx 26, although if this has any possibility of being pulled into Fx 25, do let me know as I want to keep Bing informed.
Please ensure the communities for the affected locales are informed and if there are any serious concerns raised as a result of this change.
Thanks, Karen
Updated•11 years ago
|
Assignee: nobody → francesco.lodolo
tracking-fennec: ? → 25+
Updated•11 years ago
|
Assignee: francesco.lodolo → nobody
Comment 2•11 years ago
|
||
Engine identifier = "bing", matching desktop?
Comment 3•11 years ago
|
||
This is tracking Fennec 25 and week 2 just wrapped up. The window for this landing in 25 beta is rapidly closing especially with the Summit taking up part of a week. If this should not be tracking 25 please renominate so we can retriage.
Updated•11 years ago
|
tracking-firefox25:
--- → ?
Comment 4•11 years ago
|
||
Landing this week, 26 and up only
tracking-firefox25:
? → ---
tracking-firefox26:
--- → ?
Assignee | ||
Comment 5•11 years ago
|
||
This is the patch that adds Bing as a search provider to en-US only. It is not set as default. It does not have search suggestions, tracking information and the icon is pretty poor - we have requested information for all of these areas from Bing.
Ideally this would be set as position 3, but another bug has been logged to allow us to set that position (bug 923798). I will need to modify when this bug has been fixed.
Assignee: nobody → krudnitski
Attachment #813865 -
Flags: review?(mark.finkle)
Comment 6•11 years ago
|
||
Comment on attachment 813865 [details] [diff] [review]
bing.patch
Where did you get info on the "pc" and "form" params? I see different ones in the desktop definition:
http://mxr.mozilla.org/mozilla-central/source/browser/locales/en-US/searchplugins/bing.xml
The desktop definition also has search suggestions.
Comment 7•11 years ago
|
||
Can you update this patch:
Add a "3" here using the same pattern:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/app/mobile.js#247
Add a "3" here with the "Bing":
http://mxr.mozilla.org/mozilla-central/source/mobile/locales/en-US/chrome/region.properties#9
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #6)
> Where did you get info on the "pc" and "form" params?
I got them direct from Bing to use for our Firefox for Android implementation. I have already gone back to ask them about search suggestions, reporting and possibly different icon.
Updated patch to follow soon as per comment 7.
Assignee | ||
Comment 9•11 years ago
|
||
Adding Bing as the third position
Attachment #813865 -
Attachment is obsolete: true
Attachment #813865 -
Flags: review?(mark.finkle)
Attachment #813936 -
Flags: review?(mark.finkle)
Comment 10•11 years ago
|
||
Comment on attachment 813936 [details] [diff] [review]
bing patch 2
Looks good, but you forgot to make the "3" addition here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/app/mobile.js#247
You'll need that so the "3" line in region.properties is used
Attachment #813936 -
Flags: review?(mark.finkle) → review-
Updated•11 years ago
|
Comment 11•11 years ago
|
||
Please see my comment in the Yahoo bug (bug 903082) that may have the same affect on the proposed patch here.
Comment 12•11 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #10)
> Comment on attachment 813936 [details] [diff] [review]
> bing patch 2
>
> Looks good, but you forgot to make the "3" addition here:
> http://mxr.mozilla.org/mozilla-central/source/mobile/android/app/mobile.
> js#247
>
> You'll need that so the "3" line in region.properties is used
I think doing that will also resolve bug 923798
Comment 13•11 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #11)
> Please see my comment in the Yahoo bug (bug 903082) that may have the same
> affect on the proposed patch here.
Looks like we use {searchTerms} here, so this patch is good.
That said, I am fixing this patch and will add the Yahoo fix here
Comment 14•11 years ago
|
||
This builds on Karen's patch. It adds the missing mobile.js entry and adds the {searchTerms} fix for Yahoo.
* Yahoo and Bing are in the 2 and 3 positions
* Yahoo and Bing both search for the right terms
Attachment #813936 -
Attachment is obsolete: true
Attachment #814375 -
Flags: review?(blassey.bugs)
Updated•11 years ago
|
Attachment #814375 -
Flags: review?(blassey.bugs) → review+
Comment 15•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
Comment 16•11 years ago
|
||
Changing this target milestone to 26. We want to uplifted...
Target Milestone: Firefox 27 → Firefox 26
Comment 17•11 years ago
|
||
Comment on attachment 814375 [details] [diff] [review]
Karen's patch with bing tweak and yahoo fix
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
New feature request: adding search engine to default set.
User impact if declined:
Fewer search engines!
Testing completed (on m-c, etc.):
Baking on Nightly for a while.
Risk to taking this patch (and alternatives if risky):
Low: just adding plugins to our searchplugin list.
String or IDL/UUID changes made by this patch:
Adding a param to the Yahoo search plugin, which is a per-locale thing, and defining a new search engine. Both of these are scoped to /mobile/. As far as I know, l10n is in the loop for this…
Attachment #814375 -
Flags: approval-mozilla-aurora?
Comment 18•11 years ago
|
||
Erin: Target Milestone indicates where this work first landed. We need to request approval and use the status flags to upstream the work, so I just did that.
Target Milestone: Firefox 26 → Firefox 27
Comment 19•11 years ago
|
||
Perfect, thank you.
Updated•11 years ago
|
Version: Firefox 26 → Firefox 27
Comment 20•11 years ago
|
||
I'm slightly confused by this bug: it's marked as verified fixed but the subject says add Bing "for specific locales", not "for en-US".
Updated•11 years ago
|
Attachment #814375 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 21•11 years ago
|
||
Ensuring this one is also on Jeff's radar to work through the other localizers
Flags: needinfo?(jbeatty)
Comment 22•11 years ago
|
||
(In reply to Karen Rudnitski [:kar] from comment #21)
> Ensuring this one is also on Jeff's radar to work through the other
> localizers
On my radar. Please see comments 32 & 33 from bug 903082 in order to specify exactly what files need to be altered and landed in their repositories for this.
Flags: needinfo?(jbeatty)
Assignee | ||
Comment 23•11 years ago
|
||
Assignee | ||
Comment 24•11 years ago
|
||
We have a new favicon from Bing with their new logo (attached) - can you please see if either work any better? The yellow 'b' on grey is their preferred option, with the grey 'b' on yellow is their second preference.
Assignee | ||
Comment 25•11 years ago
|
||
(In reply to jbeatty from comment #22)
> (In reply to Karen Rudnitski [:kar] from comment #21)
> > Ensuring this one is also on Jeff's radar to work through the other
> > localizers
>
> On my radar. Please see comments 32 & 33 from bug 903082 in order to specify
> exactly what files need to be altered and landed in their repositories for
> this.
Jeff, we're making an educated guess while the confirmations are going out. We believe Bing should redirect, therefore no change to xml files should be required. Can we therefore proactively get this started from your end? No work should be wasted regardless.
Comment 26•11 years ago
|
||
(In reply to Karen Rudnitski [:kar] from comment #25)
> Jeff, we're making an educated guess while the confirmations are going out.
> We believe Bing should redirect, therefore no change to xml files should be
> required. Can we therefore proactively get this started from your end? No
> work should be wasted regardless.
Automatic redirects based on locale -> list.txt will contain references to en-US searchplugins (pretty quick to do)
No redirects -> we need local .xml files and completely different values in list.txt (need more times)
So we actually need to know which one of two situation we're in before starting.
Comment 27•11 years ago
|
||
Carrying over the aurora approval from prior to the uplift (plus this blocks bug 903082 and bug 923795 which both have beta approval).
https://hg.mozilla.org/releases/mozilla-beta/rev/e1718472289d
Comment 28•11 years ago
|
||
Automated merge from beta to b2g26.
https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/e1718472289d
status-b2g-v1.2:
--- → fixed
Comment 29•11 years ago
|
||
Is there a followup I can't find for adding suggestions to Bing?
Assignee | ||
Comment 30•11 years ago
|
||
I'm on an email thread right now with Bing to get to the bottom of search suggestions (via internal contacts to try and finally get some traction)
Assignee | ||
Comment 31•11 years ago
|
||
Ok, search experts. I have the following string for Bing search suggestions, where the FORM needs to equal ours (from comment 0: MOZMBA).
http://api.bing.com/qsonhs.aspx?FORM=ASAPIH&mkt=en-GB&type=cb&cb=sa_inst.apiCB&q=jennifer&cp=8&sid=24B5BFD2BA0D4F4B8FEEF1DF76B521A9&qt=1386945894943&bq=jennifer&count=12&o=p+hs
HOWEVER, before this is coded in, an someone please tell me whether this makes sense? I see they have defined a market and also has a reference to 'jennifer'. I would therefore like someone who knows more about this than me to tell me whether this makes sense or a search suggestion string or not.
Thanks and most appreciated as always,
Karen
Comment 32•11 years ago
|
||
(In reply to Karen Rudnitski [:kar] from comment #31)
The only open questions to me are:
* Do we need to include that timestamp (qt), and
* Do we need to include the search twice, and
* Is the sid something that differs per search, or is it our API ID?
Something like this should be the outcome:
<Url type="application/x-suggestions+json" template="http://api.bing.com/qsonhs.aspx">
<Param name="mkt" value="{moz:locale}"/>
<Param name="type" value="cb"/>
<Param name="cp" value="8"/>
<Param name="count" value="12"/>
<Param name="o" value="p+hs"/>
<Param name="bq" value="{searchTerms}"/>
<Param name="q" value="{searchTerms}"/>
<Param name="FORM" value="ASAPIH"/>
</Url>
Comment 33•11 years ago
|
||
Here, for contrast, is desktop's:
<Url type="application/x-suggestions+json" template="http://api.bing.com/osjson.aspx">
<Param name="query" value="{searchTerms}"/>
<Param name="form" value="OSDJAS"/>
</Url>
Comment 34•11 years ago
|
||
That URL is wrong, and won't work (wrong format. I've got an email out to Bing to clarify and resolve the correct URL, which should look pretty close to the desktop URL (which uses a different format).
Comment 35•11 years ago
|
||
I've spun the suggestions issue off to bug 950201 as a clone of this (so everyone should be CCed).
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•