mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Bug 289068 ASSERTION: WriteToBuffer called with count of zero: 'count', file r:/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 710
r=jst sr=jst a=shaver
This commit is contained in:
parent
4c7f9052d3
commit
bbfe7d34e5
@ -2171,7 +2171,9 @@ nsHTMLDocument::WriteCommon(const nsAString& aText,
|
||||
|
||||
// Save the data in cache
|
||||
if (mWyciwygChannel) {
|
||||
mWyciwygChannel->WriteToCacheEntry(aText);
|
||||
if (!aText.IsEmpty()) {
|
||||
mWyciwygChannel->WriteToCacheEntry(aText);
|
||||
}
|
||||
|
||||
if (aNewlineTerminate) {
|
||||
mWyciwygChannel->WriteToCacheEntry(new_line);
|
||||
|
Loading…
Reference in New Issue
Block a user