Closed
Bug 1482629
Opened 6 years ago
Closed 6 years ago
Amazon shown as a top search when it should be a plain top site for some locales
Categories
(Firefox :: New Tab Page, defect, P1)
Firefox
New Tab Page
Tracking
()
People
(Reporter: Mardak, Assigned: andreio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
With the latest mac es-MX build 20180811103606 from https://download.mozilla.org/?product=firefox-nightly-latest-l10n-ssl&os=osx&lang=es-MX
Amazon is correctly not pinned but it still shows as an organic search. Amazon is not a search provider in the build, so it doesn't show up in the Add Search Engine.
The address bar correctly indicates there's no @amazon search keyword.
Services.search.getEngines().map(v => v.identifier)
Array(5) [ "google", "bing", "ddg", "mercadolibre-mx", "wikipedia-es" ]
I am running this from US if that matters:
browser.search.region;US
Reporter | ||
Comment 1•6 years ago
|
||
zh-CN build actually has @amazon pinned, but it does not work as amazondotcn is not intended to be a search as per bug 1482125
Depends on: 1482125
Reporter | ||
Comment 2•6 years ago
|
||
The fix here probably needs to check instead of search.getEngines()…engine.identifier.match(shortcut.searchIdentifier), check search.getDefaultEngines().…engine.wrappedJSObject._internalAliases.includes(shortcut.keyword)
This means we don't need a separate searchIdentifier property.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → andrei.br92
In my case @amazon search does exist and is not enabled as a Top Site Search Engine however it incorrectly appears as one like in the comment 0 screenshot.
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Priority: P2 → P1
Comment 5•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream
https://github.com/mozilla/activity-stream/commit/70111e2ac8a3ac17216fa55f72a089332d190d76
Fix Bug 1482629 - Compare search topsites against search engine _internalAliases (#4326)
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•6 years ago
|
||
status-firefox63:
--- → fixed
Target Milestone: --- → Firefox 63
Reporter | ||
Comment 7•6 years ago
|
||
status-firefox62:
--- → fixed
Comment 8•6 years ago
|
||
I have verified that the issue is no longer reproducible in the latest Nightly (63.0a1, Build ID 20180815225731) on Windows 10, Mac 10.13 and Linux x64. The Amazon Top Site is no longer converted to a search Top Site in es-MX builds.
Updated•6 years ago
|
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Comment 9•6 years ago
|
||
I managed to reproduce the issue using an older version of Nightly (2018-08-12) on Windows 10 x64.
I retested everything using beta 62.0b19 on Windows 10 x64, Ubuntu 16.04 x64 and macOS 10.12. The bug is not reproducing anymore.
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•