diff options
author | Moonchild <moonchild@palemoon.org> | 2021-09-14 21:48:14 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-11-05 11:31:22 +0000 |
commit | a9f0afa0e94f832468ffe0403bd1acc799c8969e (patch) | |
tree | d52fae5dbcbe970b68eb3180ecd549ac690506e0 /toolkit/components | |
parent | 7b1e6e182da0b3fd6c4860d86f1d95523ad85a2e (diff) | |
download | uxp-a9f0afa0e94f832468ffe0403bd1acc799c8969e.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.
Diffstat (limited to 'toolkit/components')
-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 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. |