From 240ba54a429c943c45ea87ca0bc4712610c8460f Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 1 Nov 2017 02:41:03 +0100 Subject: Bump max icon size for search engine icons to 32 KB to cater to more common use of HiDPI icons. --- toolkit/components/search/nsSearchService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') 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. -- cgit v1.2.3