browser(firefox): do not leak reponses (#4453)

This commit is contained in:
Yury Semikhatsky 2020-11-16 13:16:20 -08:00 committed by GitHub
parent bd76e9ddbf
commit 39fcf1bc54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
1209 1210
Changed: joel.einbinder@gmail.com Mon 16 Nov 2020 10:52:59 AM PST Changed: yurys@chromium.org Mon 16 Nov 2020 01:10:41 PM PST

View file

@ -800,7 +800,7 @@ class ResponseStorage {
addResponseBody(request, body) { addResponseBody(request, body) {
if (body.length > this._maxResponseSize) { if (body.length > this._maxResponseSize) {
this._responses.set(requestId, { this._responses.set(request.requestId, {
evicted: true, evicted: true,
body: '', body: '',
}); });