Closed
Bug 942024
Opened 12 years ago
Closed 12 years ago
Yahoo search not using custom search codes
Categories
(Firefox for Metro Graveyard :: App Bar, defect, P1)
Tracking
(firefox28 verified, firefox29 verified, firefox30 verified, b2g-v1.3 fixed)
VERIFIED
FIXED
Firefox 30
People
(Reporter: kjozwiak, Assigned: mconnor)
References
Details
(Whiteboard: [release28] p=0 s=it-30c-29a-28b.3 r=ff28 [qa+])
Attachments
(1 file)
|
18.44 KB,
patch
|
mbrubeck
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
When using the Yahoo search engine through the URL bar, the search codes are identical. When you use either Google/Bing, the search codes differ from Firefox Desktop/Firefox Metro.
Examples:
Bing Search Results:
Metro: http://www.bing.com/search?q=firefox&form=MOZLBR
Desktop: http://www.bing.com/search?q=firefox&form=MOZW
Google Search Results:
Metro: https://www.google.com/search?q=firefox&ie=utf-8&oe=utf-8&client=metrofirefox
Desktop: https://www.google.ca/search?q=mozilla&ie=utf-8&oe=utf-8&rls=org.mozilla:en-US:unofficial&client=firefox-nightly&channel=fflb&gws_rd=cr&ei=xdiOUq6DMIz22AWZhYDwCA
Yahoo Search Results:
Metro: http://search.yahoo.com/search?p=firefox&ei=UTF-8&fr=
Desktop: http://search.yahoo.com/search?p=firefox&ei=UTF-8&fr=
Steps to reproduce the issue:
1) Open Firefox Desktop and switch the default search engine to Yahoo
2) Search for "firefox" through the URL bar and note the URL
3) Switch over to Firefox Desktop and type in "firefox" inside the URL bar
4) Tap on the "Yahoo" icon and note the URL (they will be identical)
If you go through the above STR in either Google/Bing, the search codes will be different.
| Reporter | ||
Comment 1•12 years ago
|
||
Just wanted to double check if this behavior is expected as the other search engines have custom search codes.
Flags: needinfo?(krudnitski)
Updated•12 years ago
|
Whiteboard: feature=defect c=firefox_app_bar_and_autocomplete u=metro_firefox_user p=0 → [triage] feature=defect c=firefox_app_bar_and_autocomplete u=metro_firefox_user p=0
Comment 2•12 years ago
|
||
Let me take a look into this (by asking Joanne :)). Will get back to you ASAP.
Flags: needinfo?(krudnitski) → needinfo?(jnagel)
Comment 3•12 years ago
|
||
Ah, good point! Let me request a separate tracking tag from Yahoo. I will update the thread as soon as I receive it. Thanks for catching this! Joanne
Flags: needinfo?(jnagel)
Comment 4•12 years ago
|
||
Here is the Metro specific search tag: mozilla_metro_search
Comment 5•12 years ago
|
||
(In reply to Joanne Nagel from comment #4)
> Here is the Metro specific search tag: mozilla_metro_search
should this replace the 'firefox' param in the p parameter?
Comment 6•12 years ago
|
||
I'm not sure that you can use the URL for Yahoo to determine the search tag. I believe the 'firefox' param is actually the partner code, differentiating all traffic as Mozilla's. Then there should be another parameter that is a search code or source tag tag, similar to: yahoo_mozilla_moz35_trans_us, which we would substitute the mozilla_metro_search code for Metro. Looping in Kev to see if he can help.
Flags: needinfo?(kev)
Comment 7•12 years ago
|
||
Yahoo! uses the "fr" code for search tracking, typically. I'll work with Joanne and submit a patch here when I confirm codes.
Flags: needinfo?(kev)
Comment 8•12 years ago
|
||
We also need to understand how much of this stuff we need to port to l10n.
Updated•12 years ago
|
Whiteboard: [triage] feature=defect c=firefox_app_bar_and_autocomplete u=metro_firefox_user p=0 → [triage] [defect] p=0
Updated•12 years ago
|
Summary: Defect - Yahoo search not using custom search codes → Yahoo search not using custom search codes
Comment 9•12 years ago
|
||
Kev, any update on this? Also, do we need to block on aurora for this due to l10n changes or can this land on beta?
Flags: needinfo?(kev)
Comment 10•12 years ago
|
||
Note that fixing this on l10n side will take time, so the sooner we start the better.
Updated•12 years ago
|
Whiteboard: [triage] [defect] p=0 → [onhold] [defect] p=0
| Assignee | ||
Comment 11•12 years ago
|
||
I thought I'd commented on this already, but here goes:
p= is the search term. That shouldn't change. fr= is partner code, which is only set for officially branded builds via firefox-branding.js
It's straightforward to add another value to that file for metro codes, and update the search plugin in Metro to use that alternative value.
Francesco, assuming existing plugins are using the same as en-US:
<MozParam name="fr" condition="pref" pref="yahoo-fr" />
This would change to
<MozParam name="fr" condition="pref" pref="yahoo-fr-metro" />
in the metro versions of the plugins, and we'd get the correct code everywhere. Is that something we can do in relatively short order?
Comment 12•12 years ago
|
||
(In reply to Mike Connor [:mconnor] from comment #11)
> in the metro versions of the plugins, and we'd get the correct code
> everywhere. Is that something we can do in relatively short order?
The only way to be fast is to land directly on l10n repositories and use a tracking bug, without going through patches and approvals.
Right now for Yahoo we need to fix several pending problems:
* update desktop icon with hi-dpi version
* create a yahoometrofx version
If we need to ship this with Firefox 28, we can try do it soon on beta cycle.
Comment 13•12 years ago
|
||
(In reply to Francesco Lodolo [:flod] from comment #12)
> Right now for Yahoo we need to fix several pending problems:
> * update desktop icon with hi-dpi version
> * create a yahoometrofx versionù
For that I was also waiting for the updated icon to land (en-US still has the old one for 74px).
| Assignee | ||
Comment 14•12 years ago
|
||
Ok, I'll get the hiDPI version we have landed ASAP, and we'll move quickly from there.
Comment 15•12 years ago
|
||
Mike, I filed bug 967388 to track the l10n part of this Yahoo update.
I'm going to fix this directly on mozilla-aurora and l10n-central, for a limited set of locales we'll try to land fixes on mozilla-beta so I'll be creating patches and asking you for review.
See bug 936198 comment 24 about the current images, while I still see the standard pref everywhere. Should I go on and use "yahoo-fr-metro" or do we need to wait?
Flags: needinfo?(mconnor)
Updated•12 years ago
|
Whiteboard: [onhold] [defect] p=0 → [onhold]
| Assignee | ||
Comment 16•12 years ago
|
||
As far as I can tell this is WFM except that it's the wrong code. Taking, I have a patch.
Assignee: nobody → mconnor
Flags: needinfo?(mconnor)
| Assignee | ||
Comment 17•12 years ago
|
||
Attachment #8374435 -
Flags: review?(mbrubeck)
Updated•12 years ago
|
Attachment #8374435 -
Flags: review?(mbrubeck) → review+
Updated•12 years ago
|
Whiteboard: [onhold]
Updated•12 years ago
|
Status: NEW → ASSIGNED
Updated•12 years ago
|
QA Contact: kamiljoz
Whiteboard: [release28] p=0 r=ff28
Updated•12 years ago
|
Whiteboard: [release28] p=0 r=ff28 → [release28] p=0 s=it-30c-29a-28b.3 r=ff28
Updated•12 years ago
|
Priority: -- → P1
| Assignee | ||
Comment 18•12 years ago
|
||
Flags: needinfo?(kev)
| Assignee | ||
Comment 19•12 years ago
|
||
Comment on attachment 8374435 [details] [diff] [review]
yahooMetroCode
[Approval Request Comment]
Bug caused by (feature/regressing bug #): new requirement for Metro
User impact if declined: no direct user impact, impacts partner tracking/revenue, other patches dependent on this will cause lost codes
Testing completed (on m-c, etc.): tested to be working
Risk to taking this patch (and alternatives if risky): minimal.
String or IDL/UUID changes made by this patch: none
Attachment #8374435 -
Flags: approval-mozilla-beta?
Attachment #8374435 -
Flags: approval-mozilla-aurora?
Comment 20•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 30
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [release28] p=0 s=it-30c-29a-28b.3 r=ff28 → [release28] p=0 s=it-30c-29a-28b.3 r=ff28 [qa+]
Comment 21•12 years ago
|
||
For testing and verification. Reopen if any defects found.
Flags: needinfo?(kamiljoz)
Updated•12 years ago
|
Updated•12 years ago
|
Attachment #8374435 -
Flags: approval-mozilla-beta?
Attachment #8374435 -
Flags: approval-mozilla-beta+
Attachment #8374435 -
Flags: approval-mozilla-aurora?
Attachment #8374435 -
Flags: approval-mozilla-aurora+
Comment 22•12 years ago
|
||
Comment 23•12 years ago
|
||
Updated•12 years ago
|
status-b2g-v1.3:
--- → fixed
| Reporter | ||
Comment 24•12 years ago
|
||
Went through the verification process using the following BETA build:
- http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/28.0b9/win32/en-US/
Went through all the available search engines under fxmetro and ensured that the correct search code are being used:
- https://www.google.com/search?q=mozilla&ie=utf-8&oe=utf-8&client=metrofirefox
- http://www.bing.com/search?q=mozilla&pc=MOZW&form=MOZWSB
- http://search.yahoo.com/search?p=mozilla&ei=UTF-8&fr=mozilla_metro_search
Went through the following test cases:
- Set all three search engines as default and searched via the about:start (Google, Bing, Yahoo)
- Used the icons under the auto search feature and ensured that the correct search codes are being used (Google, Bing, Yahoo)
- Ensured that the Desktop search plugin's were still using the correct search codes (ensured fxmetro changes didn't affect fxdesktop)
| Reporter | ||
Comment 25•12 years ago
|
||
Went through the verification process using the following builds:
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-03-09-03-02-04-mozilla-central/
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-03-09-00-40-03-mozilla-aurora/
For the above builds, the following preference was changed:
- browser.search.param.yahoo-fr-metro
- Went through all the test cases in comment #24
- Ensured that changing the above preference didn't affect the other search engine codes
- Ensured that changing the above preference didn't affect the search codes under fxdesktop
Status: RESOLVED → VERIFIED
Flags: needinfo?(kamiljoz)
You need to log in
before you can comment on or make changes to this bug.
Description
•