From e64d2cd1ec5b8cc8f1cd50f1f39dcef3ac90f03d Mon Sep 17 00:00:00 2001 From: roytam1 Date: Sun, 1 May 2022 01:55:42 +0800 Subject: [PATCH] devtools: enlarge RESPONSE_BODY_LIMIT to 10MB --- devtools/shared/webconsole/network-monitor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devtools/shared/webconsole/network-monitor.js b/devtools/shared/webconsole/network-monitor.js index 4488fc1df7..7fec4ff1cc 100644 --- a/devtools/shared/webconsole/network-monitor.js +++ b/devtools/shared/webconsole/network-monitor.js @@ -34,8 +34,8 @@ const HTTP_FOUND = 302; const HTTP_SEE_OTHER = 303; const HTTP_TEMPORARY_REDIRECT = 307; -// The maximum number of bytes a NetworkResponseListener can hold: 1 MB -const RESPONSE_BODY_LIMIT = 1048576; +// The maximum number of bytes a NetworkResponseListener can hold: 10 MB +const RESPONSE_BODY_LIMIT = 10485760; // Exported for testing. exports.RESPONSE_BODY_LIMIT = RESPONSE_BODY_LIMIT;