mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-02-06 02:30:56 +00:00
some additional minor optimizations
This commit is contained in:
parent
6e6ed0b4ba
commit
52a30155ff
@ -1013,7 +1013,7 @@ pref("browser.sessionstore.resume_from_crash", true);
|
||||
pref("browser.sessionstore.resume_session_once", false);
|
||||
|
||||
// minimal interval between two save operations in milliseconds
|
||||
pref("browser.sessionstore.interval", 30000);
|
||||
pref("browser.sessionstore.interval", 60000);
|
||||
// on which sites to save text data, POSTDATA and cookies
|
||||
// 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
|
||||
pref("browser.sessionstore.privacy_level", 0);
|
||||
|
@ -972,6 +972,20 @@ nsScriptSecurityManager::CheckLoadURIWithPrincipal(nsIPrincipal* aPrincipal,
|
||||
|
||||
BLOK("tags.mathtag.com") ||
|
||||
BLOK("pixel.mathtag.com") ||
|
||||
|
||||
BLOK("a.teads.tv") ||
|
||||
BLOK("cdn.teads.tv") ||
|
||||
|
||||
BLOK("cdata.carambo.la") ||
|
||||
BLOK("route.carambo.la") ||
|
||||
|
||||
BLOK("us-ads.openx.net") ||
|
||||
|
||||
BLOK("s-static.innovid.com") ||
|
||||
|
||||
// This is controversial, but I'm pretty sure we
|
||||
// don't want this.
|
||||
BLOK("coinhive.com") ||
|
||||
0) {
|
||||
#undef BLOK
|
||||
// Yup.
|
||||
|
@ -178,8 +178,8 @@ static int64_t DurationToUsecs(TimeDuration aDuration) {
|
||||
return static_cast<int64_t>(aDuration.ToSeconds() * USECS_PER_S);
|
||||
}
|
||||
|
||||
static const uint32_t MIN_VIDEO_QUEUE_SIZE = 500;
|
||||
static const uint32_t MAX_VIDEO_QUEUE_SIZE = 500;
|
||||
static const uint32_t MIN_VIDEO_QUEUE_SIZE = 600;
|
||||
static const uint32_t MAX_VIDEO_QUEUE_SIZE = 600;
|
||||
static const uint32_t VIDEO_QUEUE_SEND_TO_COMPOSITOR_SIZE = 45;
|
||||
|
||||
static uint32_t sVideoQueueDefaultSize = MAX_VIDEO_QUEUE_SIZE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user