Index: toolkit/components/search/nsSearchService.js |
=================================================================== |
--- a/toolkit/components/search/nsSearchService.js |
+++ b/toolkit/components/search/nsSearchService.js |
@@ -3936,18 +3936,16 @@ SearchService.prototype = { |
aCount.value = engines.length; |
return engines; |
}, |
getVisibleEngines: function SRCH_SVC_getVisible(aCount) { |
this._ensureInitialized(); |
LOG("getVisibleEngines: getting all visible engines"); |
var engines = this._getSortedEngines(false); |
- // Capped visible engine count at 5 according to https://issues.adblockplus.org/ticket/3128 |
- engines = engines.slice(0, Math.min(engines.length, 5)); |
aCount.value = engines.length; |
return engines; |
}, |
getDefaultEngines: function SRCH_SVC_getDefault(aCount) { |
this._ensureInitialized(); |
function isDefault(engine) { |
return engine._isDefault; |