Commit Graph

506 Commits

Author SHA1 Message Date
Boris Zbarsky
55e25aaf58 Bug 625256. Make the DOM timeout clamp a pref, but enforce that it's nonnegative. r=jst, a=jst 2011-01-14 21:14:41 -05:00
Chris Leary
887da71fad Merge mozilla-central into tracemonkey. 2011-01-12 00:07:40 -08:00
Andreas Gal
108bc95880 Add API to enable/disable per-compartment GCs (bug 624229, r=shaver). 2011-01-09 22:57:21 -08:00
Jeff Muizelaar
11c0641ff9 Bug 623446. Turn the layer acceleration prefs into a tri-state. r=joe,a=b
This removes:
 layers.accelerate-all
 layers.accelerate-none

and adds:
 layers.acceleration.disabled
 layers.acceleration.force-enabled

This is closer to what D2D does.
2011-01-11 17:01:37 -05:00
Ehsan Akhgari
0b74bfc720 Merge backout; a=beta9 CLOSED TREE 2011-01-10 19:40:56 -05:00
Ehsan Akhgari
44af14c4ca Backed out changeset d2856d5970b6 (bug 619487) because of bug 624514 2011-01-10 19:40:29 -05:00
Dan Witte
af4f48c099 Bug 580790 - Connection::initialize can access preferences off of the main thread. r=sdwilsh, sr=bsmedberg, a=betaN+ 2011-01-05 16:32:31 -08:00
Patrick McManus
4016cea6b9 bug 623921: Out of an abundance of caution back out feature: 592284 - HTTP Syn Retry r=honzab a=backout 2011-01-07 11:11:22 -05:00
Chris Jones
68df72ea72 Test for bug 616441. a=b 2011-01-05 22:54:47 -06:00
Chris Jones
85d09be020 Bug 616414: Notify content processes when a pref has been cleared. r=dwitte 2011-01-05 22:54:47 -06:00
Doug Turner
235415e850 Bug 613551 - JSGC_MAX_MALLOC_BYTES is too large on mobile. Pref change. [r=jst] a=blocking-fennec
--HG--
extra : rebase_source : 91601ad63a7b29966ce3ad8e944a712bf1e93bb1
2011-01-05 15:11:14 -08:00
timeless@mozdev.org
21e1e178d2 Bug 584969 Remove references to nsIFileSpec from the "supported" set in nsIPrefBranch
r=dveditz a=bsmedberg
2011-01-05 14:11:56 -08:00
Doug Turner
9d720ff78a Bug 607860 - remove navigator.mozNotification from Firefox desktop. r=jst/jonas a=betaN+ 2011-01-03 16:37:01 -08:00
Vladimir Vukicevic
0285a9d935 b=578877, reenable WebGL on Linux; r=vlad,a=b 2010-12-27 12:05:01 -08:00
Matthew Gregan
fc868e4d64 Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13:00
Patrick McManus
dd0c0a9a27 Bug 613977 - Intermittent invalid certificate error prompt (partial) r=honzab a=blocking-beta9
Bug 614677 - Connection is reset message appears intermittently
Bug 614950 - Connections stall occasionally after 592284 landed

A couple of follow-on changes to 592284 rolled together to prevent
diff conflicts

1] Set the securitycallback information for unused speculative
connections in the connection manager to be the new cloned connection
rather than the one they originated on. (613977)

2] When adding unused speculative connections to the connection
manager, due so with a short timeout (<= 5 seconds) as some servers
get grumpy if they haven't seen a request in that time. Most will
close the connection, but some will just sit there quietly and RST
things when the connection is used - so if you don't use the
connection quickly don't use it at all. This is probably a L4 load
balancer issue, actually. Mozillazine illustrates the
problem. Connections are made in bursts anyhow, so the reuse optimization is
likely still quite useful. (614677 and 614950)

3] mark every connection in the connection manager persistent
conneciton pool as "reused". This allows the transaction to be
restarted if a RST is recvd upon sending the requests (see #2) - with
the conservative timeout this is now a rare event, but still possible
so recovery is the right thing to do. (614677 and 614950)

4] obtain an nshttpconnection object from the connection manager,
subject to the max connection constraints, at the same time as
starting the backup conneciton. If we defer that until recycling time
the exceeded limits of the SocketService can cause problems for other
connections.

also re-enables the syn retry feature by default.

r+ honzab
2010-12-16 08:50:36 -05:00
Patrick McManus
c9ce2e3285 workaround for bugs 614677 and 613977: Disable accelerated SYN retry for FF 4.0 Beta 8. r=jduell, a=shaver 2010-12-09 15:19:28 -08:00
Robert Longson
618ecff833 Bug 617448 - remove svg.enabled as the browser now uses SVG and fails to start if it's disabled r+a=roc 2010-12-08 21:25:06 +00:00
Patrick McManus
725731c1fa Bug 616733: Disable websockets by default. r=peterv,jst a=beta8
Can be turned on by setting preference
network.websocket.override-security-block.  Websockets can only be used if
override-security-block and network.websocket.enabled are both set to true.

At a future time, with a more secure websocket protocol, the
override-security-block preference can be removed.

This action is based on the security concern over an HTTP cache
poisoning attack as described in
http://www.adambarth.com/experimental/websocket.pdf
2010-12-08 14:12:51 -08:00
Vladimir Vukicevic
5aa671acea b=603367, disable ANGLE/WebGL on Linux until build system issues are fixed (bug 559964) 2010-12-03 14:44:01 -08:00
Patrick McManus
b46439ff28 Bug 592284 - Accelerate TCP connection retries in HTTP. r=honzab a=blocking2.0
Losing a TCP SYN requires a long painful (typically 3 second) delay
before being retried. This patch creates a second parallel connection
attempt for any nsHttpConnection which has not become writable before
a timeout occurs.

If you assume .5% packet loss, this converts a full 3 second delay
from a 1 in 200 event into a 1 in 40,000 event.

Whichever connection establishes itself first is used. If another one
has been started and it does connect before the one being used is
closed then the extra one is handed to the connection manager for use
by a different transaction - essentially a persistent connection with
0 previous transactions on it. (Another way to think about is
pre-fetching a 3WHS on a high latency connection).

The pref network.http.connection-retry-timeout controls the amount of
time in ms to wait for success on the initial connection before beginning
the second one. Setting it to 0 disables the parallel connection, the
default is 250.
2010-11-21 09:50:36 +01:00
Jonathan Kew
d572b7fa06 bug 603879 - part 2 - update harfbuzz integration to support arabic etc shaping. r=jdaggett a=blocking2.0 2010-11-20 17:49:12 +00:00
Simon Montagu
b3b2d6b236 Make the 'More Encodings' submenus non-localizable. Bug 610638, r=emk, a=bsmedberg 2010-11-14 16:41:43 +02:00
Phil Ringnalda
4b5b8b75af Bug 608657 - Remove misplaced and unused "network.hosts.(pop|smtp)_server" prefs, r=bienvenu, a=bsmedberg 2010-10-31 17:56:16 -07:00
Neil Rashbrook
91b12103bb Bug 608958 Omnijar doesn't load preference files in reverse alphabetical order r=dwitte a=bsmedberg 2010-11-10 08:20:52 +00:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Robert O'Callahan
bdd5b7e09e Bug 594977. Part 1: Make ui.trackpoint_hack.enabled live, and add ui.window_class_override pref. r=jmathies,a=blocker 2010-11-08 22:06:13 +13:00
Boris Zbarsky
7b0a48122f Bug 578890. Stop leaking shutdown observers from prefbranches. r=bsmedberg 2010-11-04 16:06:05 -04:00
Robert Sayre
7ce5faeded Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
Andreas Gal
de49671a75 Merge from mozilla-central. 2010-10-22 19:46:37 -07:00
Bill McCloskey
58582215b9 Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin) 2010-10-21 09:36:39 -07:00
Igor Bukanov
8cd1bfa94d bug 604831 - fixing GC trigger factor setup. r=anygregor 2010-10-19 12:11:09 +02:00
Bill McCloskey
507ea140a2 Backed out changeset 55597c32701d 2010-10-19 17:40:53 -07:00
Bill McCloskey
7583dc9166 Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin) 2010-10-19 16:23:05 -07:00
Gervase Markham
893729b692 Bug 597030 - Add .il to IDN whitelist. a=beltzner. 2010-10-25 15:11:48 +01:00
Gervase Markham
f394dc0a4f Bug 580161 - Add .<Qatar> to IDN whitelist. a=beltzner. 2010-10-25 15:11:27 +01:00
Dan Witte
4af4661231 Bug 590512 - Firefox 4.0b Crash [@ PL_DHashTableOperate | nsPrefBranch::GetBoolPref(char const*, int*) ]. r=dougt, a=final+ 2010-10-07 14:00:17 -07:00
Jonathan Kew
3e72e86729 bug 527276 - part 5 - implement pref to control whether OTL tables are preserved in sanitized fonts. r=jdaggett a=blocking2.0 2010-10-07 08:59:19 +01:00
Jonathan Kew
a3d07f0790 bug 527276 - part 3 - apply OTS sanitizer to downloaded fonts. r=jdaggett a=blocking2.0 2010-10-07 08:59:19 +01:00
Bas Schouten
5a7235d59a Bug 546514 - Part 5: Allow turning on D3D10 layers through a pref. r=vlad a=vlad 2010-10-01 00:53:53 +02:00
Joe Drew
4adc5baad4 Bug 580405 - Turn on OpenGL accelerated layer composition by default on OS X. r=vlad a=b 2010-09-21 14:41:13 -04:00
Doug Turner
5be151e2c2 Bug 600110 - Preference follow up tests. r=dwitte a=blocking-fennec
--HG--
extra : rebase_source : a610abed0ceab997b4dfdfb9132bd90bfeba985f
2010-09-28 10:07:23 -07:00
Doug Turner
d845537c4d Bug 600110 - Pref follow up patch. Remove dead code, fix observers. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : dd0861639f346b0c0f6103c25586f6136aa125f3
2010-09-28 10:02:37 -07:00
Doug Turner
ad19f9f833 Bug 589905 - Remote preferences test cases. r=dwitte, a=blocking-fennec
--HG--
extra : rebase_source : 54bf57ab0fadd2adf7b4b5cacbde8be3c6260e61
2010-09-27 14:23:35 -07:00
Doug Turner
f96b653ce0 Bug 589905 - Cache remote-preferences to improve performance. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 327ae1b240a0535c2ec61eb3bce15df302d83987
2010-09-27 14:23:35 -07:00
Henri Sivonen
6496c8e253 Bug 593046 - Do not read a pref in nsJapaneseToUnicode. r=smontagu, a=blocking2.0-final.
--HG--
extra : rebase_source : ac58c8390571cd0a0b62f85dc985c3d8902a8dac
2010-09-06 10:41:26 +03:00
Vladimir Vukicevic
94dd68a9be b=596720; enable WebGL by default; r=shaver, a=b7 2010-09-16 11:02:57 -07:00
Bas Schouten
32d2b7094e Bug 596494 - Part 2: Refactor render mode functionality to allow UpdateRenderMode. r=jrmuizel 2010-09-15 22:16:09 +00:00
Byron Milligan
1a24c21c2d Bug 559942 - RE-LAND- Heuristic to pick default HTTP cache size. r=dwitte, gavin, ui=limi, a=blocks-beta7 2010-09-15 11:42:38 -07:00