Closed Bug 1482629 Opened 5 years ago Closed 5 years ago

Amazon shown as a top search when it should be a plain top site for some locales


(Firefox :: New Tab Page, defect, P1)




Firefox 63
63.4 - Aug 20
Tracking Status
firefox62 --- verified
firefox63 --- verified


(Reporter: Mardak, Assigned: andreio)


(Blocks 1 open bug)



(2 files)

Attached image should not be @amazon
With the latest mac es-MX build 20180811103606 from

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. => v.identifier)
Array(5) [ "google", "bing", "ddg", "mercadolibre-mx", "wikipedia-es" ]

I am running this from US if that matters:;US
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
See Also: → 1482633
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: 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.
Priority: P2 → P1
Blocks: 1482959
Commit pushed to master at
Fix Bug 1482629 - Compare search topsites against search engine _internalAliases (#4326)
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Blocks: 1482398
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.
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.
Depends on: 1498916
No longer depends on: 1498916
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.