Bug 1870687 - Investigate removing the _locale and _extensionID options from within AppProvidedSearchEngine. r=Standard8,urlbar-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D218684
This commit is contained in:
@@ -76,12 +76,7 @@ this.addonsSearchDetection = class extends ExtensionAPI {
|
||||
patterns[pattern] = [];
|
||||
}
|
||||
|
||||
// We exclude built-in search engines because we don't need
|
||||
// to report them.
|
||||
if (
|
||||
!patterns[pattern].includes(_extensionID) &&
|
||||
!_extensionID.endsWith("@search.mozilla.org")
|
||||
) {
|
||||
if (!patterns[pattern].includes(_extensionID)) {
|
||||
patterns[pattern].push(_extensionID);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user