Bug 1542172 - Firefox freezes when inspecting large POST data. r=Honza draft
authorHemakshi Sachdev <sachdev.hemakshi@gmail.com>
Tue, 23 Apr 2019 13:30:42 +0000
changeset 11417 a7d65ca6a8630157a37a3f9ce438427e77664318
parent 11416 20ac7dcee584f2a48713be7337833efcc974f3f4
child 11418 f05a0f5c9cd134ddf6bcb8fc1ac77559d1137e1c
push id206
push userflodolo@mozilla.com
push dateWed, 24 Apr 2019 06:31:52 +0000
reviewersHonza
bugs1542172
Bug 1542172 - Firefox freezes when inspecting large POST data. r=Honza Truncate the Request Payload if it exceeds the `devtools.netmonitor.requestBodyLimit` pref and show `Request has been truncated` error in the Params Tab Differential Revision: https://phabricator.services.mozilla.com/D27898 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 8e100a978832b8844097b54976456a008ff7805c X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: ec55d1e895f99a9cc3085d2bcf54dc962abdbdcc X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 15f10287a218572a7fd47acabb40208645b4462d
devtools/client/netmonitor.properties
--- a/devtools/client/netmonitor.properties
+++ b/devtools/client/netmonitor.properties
@@ -136,16 +136,21 @@ jsonScopeName=JSON
 # in the response tab of the network details pane for a JSONP scope.
 jsonpScopeName=JSONP → callback %S()
 
 # LOCALIZATION NOTE (responseTruncated): This is the text displayed
 # in the response tab of the network details pane when the response is over
 # the truncation limit and thus was truncated.
 responseTruncated=Response has been truncated
 
+# LOCALIZATION NOTE (requestTruncated): This is the text displayed
+# in the params tab of the network details pane when the request is over
+# the truncation limit and thus was truncated.
+requestTruncated=Request has been truncated
+
 # LOCALIZATION NOTE (responsePreview): This is the text displayed
 # in the response tab of the network details pane for an HTML preview.
 responsePreview=Preview
 
 # LOCALIZATION NOTE (networkMenu.raced): This is the label displayed
 # in the network menu specifying the transfer or a request is
 # raced. %S refers to the current transfer size.
 networkMenu.raced=%S (raced)