Commit Graph

90287 Commits

Author SHA1 Message Date
Bobby Holley
57296aa50b 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
041837d99f 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
011c97a205 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
a44b6d76ac 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
4d5b2ef225 Bug 733984 - Stop specializing createHolder, and simplify holder creation in WrapperFactory::Rewrap. r=mrbkap 2012-03-23 14:59:04 -07:00
Eric Chou
aa6940f2c6 Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:58:12 -07:00
Kyle Machulis
4dd01680a4 Backed out a44ac6895a2f r=bustage 2012-03-23 14:51:51 -07:00
Kyle Machulis
35235ab6bd Backing out a44ac6895a2f 2012-03-23 14:50:47 -07:00
Kyle Machulis
54639c3ccf Backed out changeset a44ac6895a2f 2012-03-23 14:45:29 -07:00
Eric Chou
241b42bb8c Bug 730990 - Device object boilerplate for DOM Bluetooth - r=qDot 2012-03-23 14:18:03 -07:00
Ryan VanderMeulen
ed2b9640bf 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
b5a29556da 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
4563894774 Bug 683975 - Disable lto. r=rail. 2012-03-23 16:56:36 -04:00
Mark Finkle
401b2697b3 Bug 738527 - Syntax error breaks removing closed tabs r=bnicholson 2012-03-23 16:53:43 -04:00
Mark Finkle
2164623a7b Bug 738526 - SessionStore TabValue APIs are busted r=bnicholson 2012-03-23 16:53:40 -04:00
Joshua M
36c8dae3da 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
d525c9e71e Merge last green PGO from inbound to central 2012-03-23 12:49:57 +01:00
Makoto Kato
5299fa9e59 Bug 738157 - missing nsSubstring_h___. r=dbaron 2012-03-23 14:46:04 +09:00
Makoto Kato
50d65689bb Bug 684138 - Remove unused GARBAGE from configure.in. r=khuey 2012-03-23 14:45:51 +09:00
Jignesh Kakadiya
99c83bac32 Bug 726005 - IDRefsIterator::Next() should use nsDocAccessible::GetAccessible(), r=tbsaunde, f=surkov 2012-03-23 14:26:52 +09:00
Mark Capella
0d0c6923a2 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
1e6e07e341 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
8b0f0ddc19 Bug 738209 - Cleanup a usages of NS_Convert*to*() in places. r=mak 2012-03-23 13:18:59 +09:00
Matt Brubeck
74ec9d09ab Back out 636349fa2e09 because of robocop failures 2012-03-22 19:07:42 -07:00
Brian Nicholson
1166758395 Bug 725428 - Draw white background in LayerView until Gecko has painted. r=kats 2012-03-22 15:07:00 -07:00
Alexander Surkov
57c19e3df3 Bug 736944 - make nsDocAccessible::RecreateAccessible fall into usual ContentInserted/ContentRemoved procedure, r=tbsaunde 2012-03-23 10:49:55 +09:00
Brian Nicholson
76f8802836 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
8b41ce4e56 Merge central to inbound 2012-03-23 02:02:03 +01:00
Marco Bonardo
e0389c6f8a Merge last green PGO from inbound to central 2012-03-23 01:59:29 +01:00
Patrick McManus
083437c9ff 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
31504a7ee5 bug 717350 doom cache entry on last-modified mismatch r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
bd0154c665 bug 671591 - restart partial http transaction (in progress) r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
cca184acac 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
f5c0c33db7 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
Patrick McManus
a034a9d50a bug 665885 respect keepalive: "max=" attribute r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
8d78fbf9c8 bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
15a48d8534 bug 599164 pipeline with type and state r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
bba26f5a30 bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab 2012-03-22 19:39:31 -04:00
Patrick McManus
afefeddb70 bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
10d7ced8a4 bug 447866 - patch pre.1 for empty nsHttpPipeline::TakeSubTransactions r=honzab
--HG--
extra : rebase_source : 5c21007525883fc74dc70332cf74d8d0bacd9147
2012-03-22 19:39:28 -04:00
Gavin Sharp
025c32dbae Bug 738097: fix typo in patch for bug 392188 that broke clicks on scrollbars in background windows, r=mstange 2012-03-22 17:32:23 -07:00
Brian Nicholson
15931dd3db Backout 017f6dd98dc0 for robocop failures 2012-03-22 17:28:13 -07:00
Wes Johnston
9ccdd929f0 Bug 709250 - Disable jar reader for now. 2012-03-22 17:24:30 -07:00
David Flanagan
10e29d77c0 Bug 738439 - typo in Webapps.jsm [r=fabrice] 2012-03-22 14:26:36 -07:00
Mark Banner
da888d3e8c Unit test bustage fix for apps that don't have private browsing following bug 728143. Fix incorrect brackets in if statement and a bad function name in the tests. r=bustage fix,test-only fix 2012-03-22 19:51:27 +00:00
Andreas Gal
7f4f170ffe Use BGRX shader for RGB24 image surfaces (bug 738178, r=joe). 2012-03-22 11:37:47 -07:00
Wes Johnston
62eea4b617 Bug 709250 - Tets for jar reader. r=lucasr 2012-03-22 11:12:08 -07:00
Wes Johnston
e031e53ce0 Bug 709250 - Add the ability to read nested jar files. r=mfinkle,lucasr 2012-03-22 11:11:49 -07:00
Wes Johnston
bb8ae43864 Bug 736311 - Set selected tab inactive when Fennec goes into the background. r=mbrubeck 2012-03-22 11:07:32 -07:00
Kartikaya Gupta
48552fc32a Bug 738326 - Buffer file writes to reduce test times. r=jmaher 2012-03-22 13:36:20 -04:00