search: enlarge MAX_ICON_SIZE

This commit is contained in:
roytam1 2021-11-09 21:18:42 +08:00
commit fdb10cb2f3

View file

@ -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.