mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
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
This commit is contained in:
parent
baab3d1f7f
commit
038c1f7d4b
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user