зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1221754 - Include encoding in HAR exported data; r=jryans
This commit is contained in:
Родитель
c6ecb912fb
Коммит
10557497eb
|
@ -312,6 +312,7 @@ HarBuilder.prototype = {
|
||||||
let responseContent = file.responseContent;
|
let responseContent = file.responseContent;
|
||||||
if (responseContent && responseContent.content) {
|
if (responseContent && responseContent.content) {
|
||||||
content.size = responseContent.content.size;
|
content.size = responseContent.content.size;
|
||||||
|
content.encoding = responseContent.content.encoding;
|
||||||
}
|
}
|
||||||
|
|
||||||
let includeBodies = this._options.includeResponseBodies;
|
let includeBodies = this._options.includeResponseBodies;
|
||||||
|
|
|
@ -2080,6 +2080,7 @@ NetworkEventActor.prototype =
|
||||||
updateType: "responseContent",
|
updateType: "responseContent",
|
||||||
mimeType: aContent.mimeType,
|
mimeType: aContent.mimeType,
|
||||||
contentSize: aContent.size,
|
contentSize: aContent.size,
|
||||||
|
encoding: aContent.encoding,
|
||||||
transferredSize: aContent.transferredSize,
|
transferredSize: aContent.transferredSize,
|
||||||
discardResponseBody: aDiscardedResponseBody,
|
discardResponseBody: aDiscardedResponseBody,
|
||||||
};
|
};
|
||||||
|
|
Загрузка…
Ссылка в новой задаче