Commit Graph

90236 Commits

Author SHA1 Message Date
Jared Wein
d05c1fe426 Backed out changeset 62e3e0fc06c9 (bug 730318) r=bustage 2012-03-23 11:46:32 -07:00
Jared Wein
3f49c23fdd Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage 2012-03-23 11:46:12 -07:00
Jared Wein
caa42117dd Backed out changeset c120dd831b3f (bug 734323) r=bustage 2012-03-23 11:45:51 -07:00
Jared Wein
282988197b Backed out changeset 29a7f9d3d4c4 (bug 730318) r=bustage 2012-03-23 11:45:27 -07:00
Kyle Huey
04c4259017 Bug 738334: Fix a worker timer race condition. r=bent 2012-03-23 10:46:16 -07:00
Dão Gottwald
3bef02aec5 merge backout 2012-03-23 16:58:48 +01:00
Dão Gottwald
e62ab0f6aa Backed out changeset bf13c2253055 2012-03-23 16:58:27 +01:00
Joel Maher
7acd9d1d6f Bug 737458 - add tp5row and cleanup config.py. r=armenzg 2012-03-23 10:47:10 -04:00
Kyle Huey
c90b61825e Bug 737875. r=hsivonen 2012-03-23 07:44:06 -07:00
Jonathan Kew
9cc265b3cf bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn 2012-03-23 12:13:56 +00:00
Nicholas Nethercote
4f8b8a75a5 bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame 2012-03-23 12:13:44 +00:00
Jeff Gilbert
0c50aa229e Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Jonathan Kew
9b9ab028c6 bug 738197 - handle potential failures in gfxFont::GetShapedWord more robustly. r=roc 2012-03-23 12:13:33 +00:00
Bobby Holley
6150e3dad7 Bug 667388 - Tests. r=mrbkap 2012-03-23 15:00:22 -07:00
Bobby Holley
8189f58fdd Bug 667388 - Handle wrappers during structured clone. r=mrbkap
We also remove the declared-but-never-implemented JSObject::getWrapperHandler.
2012-03-23 14:59:27 -07:00
Bobby Holley
f8fe97314f Bug 667388 - Introduce the PUNCTURE wrapper action. r=mrbkap 2012-03-23 14:59:27 -07:00
Bobby Holley
563b97de8f Bug 667388 - Make the chrome-to-content Xray wrapper derive CrossCompartmentWrapper. r=mrbkap
The current situation seems incorrect, especially given the behavior of CrossOriginWrapper and XrayProxy. Currently it doesn't matter, but it probably will in the future.
2012-03-23 14:59:27 -07:00
Bobby Holley
4a0cc78ae2 Bug 733984 - Apply Location wrappers for same-origin cross-compartment wrapping. r=mrbkap
This isn't an issue right now, since it can't ever happen outside of sandboxes, which content can't use. But if it could, it could get a pure CrossCompartmentWrapper to a Location object, which is bad.
2012-03-23 14:59:23 -07:00
Bobby Holley
da79fb87b2 Bug 733984 - Use the Location security policy even for content accessing chrome. r=mrbkap
I'm adding asserts about when we do and don't have a Location object behind the wrapper, and this case was hitting them. What we do here doesn't so much matter given how this stuff all works. On the one hand, statically using a restrictive policy is slightly more defense-in-depth. On the other hand, if this stuff is broken we're screwed in much more serious ways than content reading chrome locations, and using a consistent wrapper scheme allows us to make stronger asserts and assumptions.

I opted for stronger assumptions and more understandable security code. If Blake feels strongly though, I could go the other way and sprinkle '|| isChrome(obj)' throughout the asserts though.
2012-03-23 14:59:19 -07:00
Bobby Holley
1b0610af05 Bug 733984 - Clarify the security characteristics of Location objects. r=mrbkap
I was getting confused by some of the naming and lack of comments here.
2012-03-23 14:59:07 -07:00
Bobby Holley
ac2c44ee09 Bug 733984 - Stop specializing createHolder, and simplify holder creation in WrapperFactory::Rewrap. r=mrbkap 2012-03-23 14:59:04 -07:00
Eric Chou
85cd3d3dea Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:58:12 -07:00
Kyle Machulis
9e86abdcfe Backed out a44ac6895a2f r=bustage 2012-03-23 14:51:51 -07:00
Kyle Machulis
233b8a5ed9 Backing out a44ac6895a2f 2012-03-23 14:50:47 -07:00
Kyle Machulis
2dfd12860f Backed out changeset a44ac6895a2f 2012-03-23 14:45:29 -07:00
Eric Chou
5fc8781e5d Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:18:03 -07:00
Ryan VanderMeulen
68314a3f20 Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output) 2012-03-23 17:04:28 -04:00
William Lachance
f384dae68f Bug 722403 - DeviceManager: killProcess(): Add forceKill parameter and kill all matching processes, r=gbrown Earlier patch by Christian Holler.
--HG--
extra : rebase_source : 295a10d592827f4633951eda196505529560f8f0
2012-03-23 14:00:04 -07:00
Rafael Ávila de Espíndola
f1e8c61a6f Bug 683975 - Disable lto. r=rail. 2012-03-23 16:56:36 -04:00
Mark Finkle
aef1b00469 Bug 738527 - Syntax error breaks removing closed tabs r=bnicholson 2012-03-23 16:53:43 -04:00
Mark Finkle
c68b07a396 Bug 738526 - SessionStore TabValue APIs are busted r=bnicholson 2012-03-23 16:53:40 -04:00
Joshua M
94a512390d Bug 679801 - "New Tab", "Panorama" and "List All Tabs" buttons do not get inverted on Aero with tabs on bottom. r=dao 2012-03-23 21:53:11 +01:00
Marco Bonardo
fa6bb5c19e Merge last green PGO from inbound to central 2012-03-23 12:49:57 +01:00
Makoto Kato
153d1dbc93 Bug 738157 - missing nsSubstring_h___. r=dbaron 2012-03-23 14:46:04 +09:00
Makoto Kato
3c8dc78903 Bug 684138 - Remove unused GARBAGE from configure.in. r=khuey 2012-03-23 14:45:51 +09:00
Jignesh Kakadiya
1fe212154d Bug 726005 - IDRefsIterator::Next() should use nsDocAccessible::GetAccessible(), r=tbsaunde, f=surkov 2012-03-23 14:26:52 +09:00
Mark Capella
a9a076a3e0 Bug 737156 - Map role=note to IA2 role NOTE instead of SECTION, r=eitan, dbolter 2012-03-23 14:23:46 +09:00
Daniel Holbert
5ecf7affe4 Bug 734125: Remove reference to recently-removed globalstorage Makefile from toolkit-makefiles.sh. rs=ted 2012-03-22 22:01:16 -07:00
Makoto Kato
c425353972 Bug 738209 - Cleanup a usages of NS_Convert*to*() in places. r=mak 2012-03-23 13:18:59 +09:00
Matt Brubeck
2866761d14 Back out 636349fa2e09 because of robocop failures 2012-03-22 19:07:42 -07:00
Brian Nicholson
2407276a27 Bug 725428 - Draw white background in LayerView until Gecko has painted. r=kats 2012-03-22 15:07:00 -07:00
Alexander Surkov
6db5d0077d Bug 736944 - make nsDocAccessible::RecreateAccessible fall into usual ContentInserted/ContentRemoved procedure, r=tbsaunde 2012-03-23 10:49:55 +09:00
Brian Nicholson
f5ac9de7b8 Bug 737782 - Add keyword as a default bookmark column. r=mfinkle
--HG--
extra : rebase_source : 92b52e5402926184221796e32ef1c75b6a36a384
2012-03-22 18:36:09 -07:00
Marco Bonardo
1ffefb8021 Merge central to inbound 2012-03-23 02:02:03 +01:00
Marco Bonardo
36b3350337 Merge last green PGO from inbound to central 2012-03-23 01:59:29 +01:00
Patrick McManus
a7669f6540 bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab 2012-03-22 19:39:32 -04:00
Patrick McManus
e8210a8959 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
2c1b0520f1 bug 671591 - restart partial http transaction (in progress) r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
b42fe35654 bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.
2012-03-22 19:39:31 -04:00
Patrick McManus
f04f8c8cf1 bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).
2012-03-22 19:39:31 -04:00