mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-06 22:29:34 +00:00
#416: M1381016 M1371657
This commit is contained in:
parent
0683827d29
commit
afc8202404
|
@ -154,6 +154,8 @@ nsHTMLEditor::~nsHTMLEditor()
|
||||||
}
|
}
|
||||||
|
|
||||||
RemoveEventListeners();
|
RemoveEventListeners();
|
||||||
|
|
||||||
|
HideAnonymousEditingUIs();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -2764,7 +2764,10 @@ Http2Session::WriteSegmentsAgain(nsAHttpSegmentWriter *writer,
|
||||||
LOG3(("Http2Session::WriteSegments %p trying to discard %d bytes of data",
|
LOG3(("Http2Session::WriteSegments %p trying to discard %d bytes of data",
|
||||||
this, count));
|
this, count));
|
||||||
|
|
||||||
if (!count) {
|
if (!count && mDownstreamState == DISCARDING_DATA_FRAME) {
|
||||||
|
// Only do this short-cirtuit if we're not discarding a pure padding
|
||||||
|
// frame, as we need to potentially handle the stream FIN in those cases.
|
||||||
|
// See bug 1381016 comment 36 for more details.
|
||||||
ResetDownstreamState();
|
ResetDownstreamState();
|
||||||
ResumeRecv();
|
ResumeRecv();
|
||||||
return NS_BASE_STREAM_WOULD_BLOCK;
|
return NS_BASE_STREAM_WOULD_BLOCK;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user