summaryrefslogtreecommitdiff
path: root/toolkit/components/search
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-11-01 02:41:03 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-03-13 16:39:42 +0100
commit240ba54a429c943c45ea87ca0bc4712610c8460f (patch)
treebf9f48c972b80103e310ae3715c4f87d6edb4db2 /toolkit/components/search
parent5462c415744a64899dcd344dee42075f9154741b (diff)
downloaduxp-240ba54a429c943c45ea87ca0bc4712610c8460f.tar.gz
Bump max icon size for search engine icons to 32 KB to cater to more common use of HiDPI icons.
Diffstat (limited to 'toolkit/components/search')
-rw-r--r--toolkit/components/search/nsSearchService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/search/nsSearchService.js b/toolkit/components/search/nsSearchService.js
index 8abe56d2fc..fb3f69f4c6 100644
--- a/toolkit/components/search/nsSearchService.js
+++ b/toolkit/components/search/nsSearchService.js
@@ -107,7 +107,7 @@ const NEW_LINES = /(\r\n|\r|\n)/;
// Set an arbitrary cap on the maximum icon size. Without this, large icons can
// cause big delays when loading them at startup.
-const MAX_ICON_SIZE = 10000;
+const MAX_ICON_SIZE = 32768;
// Default charset to use for sending search parameters. ISO-8859-1 is used to
// match previous nsInternetSearchService behavior.