diff options
author | Moonchild <moonchild@palemoon.org> | 2021-09-14 21:48:14 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-09-14 21:48:14 +0000 |
commit | 544a7b2780664cfb312e58f5c9c998f926a1f1f0 (patch) | |
tree | d52fae5dbcbe970b68eb3180ecd549ac690506e0 | |
parent | 49b6513a4584c4ce92f5c6f6728a083be795a504 (diff) | |
download | aura-central-544a7b2780664cfb312e58f5c9c998f926a1f1f0.tar.gz |
Increase MAX_ICON_SIZE to account for more common use of HiDPI icons.
This change was unintentionally reverted when importing gecko/44 search service
code.
-rw-r--r-- | toolkit/components/search/nsSearchService.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/search/nsSearchService.js b/toolkit/components/search/nsSearchService.js index f3e8b94a7..7b45e3064 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. |