From fdb10cb2f3cb094d78bbd6e677095a7427e25910 Mon Sep 17 00:00:00 2001 From: roytam1 Date: Tue, 9 Nov 2021 21:18:42 +0800 Subject: [PATCH] search: enlarge MAX_ICON_SIZE --- toolkit/components/search/nsSearchService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/search/nsSearchService.js b/toolkit/components/search/nsSearchService.js index f3e8b94a75..7b45e30644 100644 --- a/toolkit/components/search/nsSearchService.js +++ b/toolkit/components/search/nsSearchService.js @@ -111,7 +111,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.