browser(firefox): do not leak reponses (#4453)
This commit is contained in:
parent
bd76e9ddbf
commit
39fcf1bc54
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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: '',
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue