From 038c1f7d4b7bbde1d622f7d708550a137d24a004 Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Fri, 18 Aug 2000 06:33:34 +0000 Subject: [PATCH] Bug 29641. Set default content.notify.backoffcount to -1 (never). This doesn't really 'fix' the bug; however, it keeps us from getting into a situation where layout gets too much content crammed down its throat at once. r=vidur,nisheeth --- content/html/document/src/nsHTMLContentSink.cpp | 2 +- layout/html/document/src/nsHTMLContentSink.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp index 38a3d3b6319d..0c09f29333d0 100644 --- a/content/html/document/src/nsHTMLContentSink.cpp +++ b/content/html/document/src/nsHTMLContentSink.cpp @@ -2264,7 +2264,7 @@ HTMLContentSink::Init(nsIDocument* aDoc, mNotifyOnTimer = PR_TRUE; prefs->GetBoolPref("content.notify.ontimer", &mNotifyOnTimer); - mBackoffCount = 3; + mBackoffCount = -1; // never prefs->GetIntPref("content.notify.backoffcount", &mBackoffCount); mNotificationInterval = 1000000; diff --git a/layout/html/document/src/nsHTMLContentSink.cpp b/layout/html/document/src/nsHTMLContentSink.cpp index 38a3d3b6319d..0c09f29333d0 100644 --- a/layout/html/document/src/nsHTMLContentSink.cpp +++ b/layout/html/document/src/nsHTMLContentSink.cpp @@ -2264,7 +2264,7 @@ HTMLContentSink::Init(nsIDocument* aDoc, mNotifyOnTimer = PR_TRUE; prefs->GetBoolPref("content.notify.ontimer", &mNotifyOnTimer); - mBackoffCount = 3; + mBackoffCount = -1; // never prefs->GetIntPref("content.notify.backoffcount", &mBackoffCount); mNotificationInterval = 1000000;