Bug 1892285 - Use correct method when setting image.mem.max_legal_imgframe_size_kb pref. r=tsmith
Differential Revision: https://phabricator.services.mozilla.com/D207894
This commit is contained in:
@@ -139,7 +139,7 @@ static int RunDecodeToSurfaceFuzzingJXL(nsCOMPtr<nsIInputStream> inputStream) {
|
||||
|
||||
int FuzzingInitImage(int* argc, char*** argv) {
|
||||
Preferences::SetBool("image.avif.sequence.enabled", true);
|
||||
Preferences::SetBool("image.mem.max_legal_imgframe_size_kb", 65536);
|
||||
Preferences::SetInt("image.mem.max_legal_imgframe_size_kb", 65536);
|
||||
#ifdef MOZ_JXL
|
||||
Preferences::SetBool("image.jxl.enabled", true);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user