Граф коммитов

7011 Коммитов

Автор SHA1 Сообщение Дата
Dão Gottwald 0727bc7c1c Bug 646428 - Remove nsIHttpProtocolHandler's language attribute. r=bz 2011-04-06 17:17:28 +02:00
Alon Zakai 52f0022ac9 Bug 641663 - Add string size to reported size of nsCacheEntry. r=biesi a=blocking-fennec 2011-03-29 11:54:58 -07:00
L. David Baron db6289bc0a Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones 2011-03-29 08:43:26 -07:00
Ehsan Akhgari cb6a971f1a Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Neil Rashbrook 1439913c4c Bug 611503 Fix broken consumers of nsTDependentString on an nsTAString r=dwitte 2011-03-25 11:43:15 +00:00
bjarne@runitsoft,com 81e0f6e13f Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed; r=(dwitte, jduell). 2011-03-24 16:45:07 -04:00
L. David Baron a7344b2af9 Backout changeset f406ffe65c08 (Bug 620931 part 1) for causing bug 644790. 2011-03-24 21:07:53 -07:00
L. David Baron 7c0acef8c1 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
L. David Baron acca01a9db Backout changeset 9df6e8117fe0 (Bug 620931 part 4) for causing bug 644790. 2011-03-24 21:06:44 -07:00
Joe Drew 60240d0fa2 Back out bug 628561 (d5fad1ab2f00) on suspicion of causing Tp regressions. 2011-03-24 20:30:59 -04:00
Joe Drew 1693a03da5 Back out bug 542401 (3fe7fcd60880) on suspicion of causing Tp regressions. 2011-03-24 20:30:06 -04:00
Joe Drew 80ab662e2e Back out bug 643352 (118451f8ec76) on suspicion of causing Tp regressions. 2011-03-24 20:29:08 -04:00
Joe Drew 19e2e8ad0b Back out bug 643291 (264508dc959b) on suspicion of causing Tp regressions. 2011-03-24 20:28:05 -04:00
Joe Drew f6404fbaaa Back out bug 632419 (dbe8ef0649ac) on suspicion of causing Tp regressions. 2011-03-24 20:27:11 -04:00
Ehsan Akhgari a0a65195df Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Patrick McManus 7d9dc8d482 bug 628561 DNS caching forcing one to restart Firefox to eliminate temporary DNS redirection; r=bzbarsky
A force-reload now clears persistent connections to the server related
to the force-reloaded resource. This will allow renogitation of DNS or
server load balancing.

--HG--
extra : rebase_source : 5c55e90ea64039b9cdc0a2d85a51086d2b1d40df
2011-03-24 12:01:57 -04:00
Ehsan Akhgari a225c14344 Merge mozilla-central into cedar 2011-03-24 10:54:50 -04:00
Mike Hommey d982a02746 Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-03-24 15:28:31 +01:00
Mike Hommey 0cfcd44b08 Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Mike Hommey 2fbedf06e8 Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-03-24 15:27:37 +01:00
Karl Tomlinson 6fcf5aed59 merge backout of bug 280661 2011-03-24 21:40:06 +13:00
Karl Tomlinson 2c6bb15624 backout bug 280661 due to test_socks.js test failure 2011-03-24 21:37:53 +13:00
chrisd.mang@gmail.com 8f46379f10 Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
Ehsan Akhgari 452577e86e Bug 616745 followup - fixed typo 2011-03-23 23:48:52 -04:00
Patrick McManus 748b83231a Bug 542401 - Look into whether Firefox should set TCP_NODELAY for non-SSL HTTP socket r=jduell
indeed without nagle disabled (which is what nodelay does) a pipeline
can be interrupted for a full rtt waiting for an ack, which defeats
the purpose of pipelining. Other parts of FF can just coalesce the
writes internally, but sometimes that is not possible for pipelines
which may not have an opportunity for a pipelined request when the
"runt" packet goes out, but discovers such an opportunity a long time
before the rtt is expired. In other places (such as long posts) we do
a fine job of coalescing already, so this should not result in any
extra packets on the wire, just improved latency.

--HG--
extra : rebase_source : f83f5b080a3da5875abaee001e8af18503fcff38
2011-03-23 11:03:09 -04:00
Patrick McManus 2c0ac326b8 643352 keep-alive header syntax invalid r=bz
don't send the keep-alive request header. It is redundant to
connection: keep-alive and we don't send the right syntax anyhow.

--HG--
extra : rebase_source : c6d9cb95d2d1cac30bc718884eb3b909db0d6a43
2011-03-23 11:02:33 -04:00
Patrick McManus 0269c0b807 Bug 643291 - chnage nshttpcompressconv NS_ERROR to NS_WARNING for data input error r=honzab
--HG--
extra : rebase_source : 14dbf0bc5cd5acbc1c525f7c8f19282c494e24f7
2011-03-23 11:01:34 -04:00
Patrick McManus 6985fe57fb Bug 632419 - HTTP 100 level parser race condition r=bz
--HG--
extra : rebase_source : 0cd0a74bfe850d0c16d7f74b77c8ca0c286e1144
2011-03-23 10:59:58 -04:00
Ehsan Akhgari 7a74f6a5b4 Merge mozila-central onto cedar
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Kyle Huey 8b2b2d95a7 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Alon Zakai b651929fb3 Bug 634666 - DEFER_OPEN option for file streams. r=bz,sdwilsh sr=bz a=blocking-fennec 2011-03-04 16:36:56 -08:00
Brian Smith 2eef6d784d Bug 637361: Backout bug 573043, a=blocker 2011-03-01 19:16:22 -08:00
Brian Smith a5edaf27e8 Bug 637361: Backout bug 573043 2011-03-01 19:11:22 -08:00
Christopher Davis 664b8b531b Bug 280661 - SOCKS proxy server connection timeout hard-coded; r=bzbarsky 2011-02-24 15:10:08 +02:00
jhorak@redhat.com 394dbd341e Bug 494163 - (gio / gvfs) Port gnomevfs extension to GIO/GVFS; r=karlt sr=roc 2011-03-23 23:38:03 -04:00
bjarne@runitsoft.com 884a180af5 Bug 561276 - Cookie dependency on cache determination for image redirects r=bz 2011-03-23 23:36:53 -04:00
Gervase Markham 164b96f087 Add gob.ec to PSL (public suffix list). (Bug 621707) a2.0=beltzner 2011-02-27 19:56:57 -08:00
Gervase Markham 01690e0b97 Add bv.nl to PSL (public suffix list). (Bug 621707) a2.0=beltzner 2011-02-27 19:56:57 -08:00
Boris Zbarsky 22613609cd Bug 635977. Make sure to always send OnStartRequest to our listener from nsIndexedToHTML. r=jduell, a=bsmedberg 2011-02-24 13:42:15 -05:00
Patrick McManus 85bb7d9710 Bug 635892 - HTTP/2.0 from SmarterTools Server. Fake it till you make it. a=hardblocker r=bz
--HG--
extra : rebase_source : 6a61e6e6a1ececf8d1d0827706e0755741930832
2011-02-22 21:02:19 -05:00
Jonathan Kew 12610868a7 bug 635705 - reorder code in GetParameterInternal. r+a=bzbarsky 2011-02-23 07:29:26 +00:00
Honza Bambas 48a2c64df8 Fix bug 573043. r=jmathies@mozilla.com, a=blocker.
--HG--
rename : security/manager/ssl/public/nsISSLStatus.idl => netwerk/base/public/nsISSLStatus.idl
rename : security/manager/boot/public/nsISSLStatusProvider.idl => netwerk/base/public/nsISSLStatusProvider.idl
rename : security/manager/ssl/public/nsIX509Cert.idl => netwerk/base/public/nsIX509Cert.idl
2011-02-08 16:12:29 -08:00
Patrick McManus ae544d7e57 Bug 632061 - Firefox 4 does not always properly handle HTTP/0.9 responses r=bz a=blocking-2.0
--HG--
extra : rebase_source : 8185a73da91b5327d5826d8945a044ac87fd41be
2011-02-08 18:26:33 -05:00
Honza Bambas 32c0e9e64a Bug 623996 - Offline Application Cache Breaks with Iframe and Shared Empty Files, r=michal.novotny, a2.0=jst 2011-02-12 14:06:02 +01:00
Sean Dunn be2fa27065 Bug 632280 - Remove NS_NOTREACHED occurrences near nsCacheEntryDescriptor.cpp:686; r=bzbarsky,khuey a=bsmedberg 2011-02-11 16:49:07 -05:00
Neil Rashbrook 32c305081f Bug 616809 Remove CRs from netwerk r=biesi a=jst DONTBUILD 2011-02-06 00:04:14 +00:00
Bjarne 28a4c2e085 Bug 633146 - Remove unnecessary locking in nsCacheService::OpenCacheEntry; r=michal.novotny,bzbarsky 2011-03-22 15:17:13 -04:00
Ms2ger 9e7db677a2 Bug 637186 - Ignoring return value of SendDeleteSelf in HttpChannelParent::Delete; r=honzab.moz 2011-03-22 15:16:33 -04:00
Mitchell Field 6faf9acaef Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Mitchell Field 1941025642 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Kyle Huey 225c13b333 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey 3bcebafe9c Bug 584474 part 6 - Remove duplicate libxpcomglue_s in link flags. r=ted 2011-02-25 15:02:04 +01:00
Mitchell Field a6788f0842 Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
timeless@mozdev.org a119175fc3 Bug 584999 remove unused nsresult rv in nsHttpChannel::ContinueOnStartRequest2
r=biesi
2010-08-06 16:16:32 +03:00
Jason Duell 9d4ad5cc63 Bug 588781 - Content-Disposition: suboptimal fallback behavior when both "filename" and "filename*" params are present; r=biesi 2011-03-23 23:35:30 -04:00
timeless@mozdev.org 4cd731a579 Bug 616745 warning: comparison between signed and unsigned integer expressions in nsHttpTransaction::LocateHttpStart
r=biesi
2011-03-23 23:31:28 -04:00
timeless@mozdev.org 26b8fd7e81 Bug 617693 testURL/writeout use delete[] on nsMemory::Alloc o_Result and strdup(temp) when they don't leak
r=biesi
2011-03-23 23:30:31 -04:00
timeless@mozdev.org 44a13e3686 Bug 618793 please add a return or comment in STATUS_REJECTED case of nsCookieService::SetCookieStringInternal switch to explain common return with STATUS_REJECTED_WITH_ERROR
r=dwitte
2011-03-23 23:30:16 -04:00
timeless@mozdev.org b5d86ab9fd Bug 620260 add fall through comment to nsHTTPCompressConv::OnDataAvailable
r=biesi
2011-03-23 23:30:04 -04:00
timeless@mozdev.org fde6f793e2 Bug 620390 useless null check of host = flat.get() in nsStandardURL::SetHost
r=biesi
2011-03-23 23:29:47 -04:00
bjarne@runitsoft.com 7453b6a04c Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0 2011-02-04 14:49:05 -05:00
Ehsan Akhgari 2312c4c0f3 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
bjarne@runitsoft.com 490808e6df Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0
--HG--
extra : rebase_source : 32ff74259046fd2f3a673df39620acb10accf2cb
2011-02-04 14:49:05 -05:00
Boris Zbarsky bdf44f5f2e Bug 629291. Don't use native leaf names in safe output streams; they lose information. r=bsmedberg, a=jst 2011-02-03 09:36:46 -08:00
Dan Witte 9bba08d791 Fix bug 624764. r=bsmedberg, a=betaN+ 2011-02-02 14:57:48 -08:00
Patrick McManus 59dc59387e 624374 - remove unused nsHttpConnection::mLock. r=honzab.moz@firemni.cz, a=jst@mozilla.com 2011-02-02 10:53:06 -08:00
Ehsan Akhgari 1772ce241d Bug 625991 - Let the server socket code deal with the cases where we don't have a live socket transport service due to being offline; r=bzbarsky a=blocking-final+ 2011-01-18 16:39:21 -05:00
Patrick McManus 34e3663c3e bug 628832 - fix regression in http/0.9 detection from 363109; r=zbarsky a=blocking-2.0
* instead of making (dis)-allow 0.9 a property of connection info,
  work off a state machine that engages in the liberal skipping of
  junk before response headers only immediately after a no-content
  response on the same connection.

* when scanning for response headers in a large amount of junk place a
  non infinite limit on that (128KB).. the only known use case for
  this is skipping illegal message bodies in 304's and those just
  aren't that big.

--HG--
extra : rebase_source : 433fd6aae237d29a9957b1a70cf1e756af5a8af0
2011-01-27 13:34:39 -05:00
Sid Stamm d2c0789cb6 Bug 628197. Implement do-not-track HTTP header to express user intent to halt tracking across site. r=dwitte, a=jst.
--HG--
extra : rebase_source : 29550c73f45bfefac311cdce4eef80e947869738
2011-01-05 11:53:21 -08:00
Frank Yan 08c5efbc6a Bug 627332 - add-ons compatibility check always presents "Minefield is working offline" dialog when network link state detection is disabled. r=roc a=dolske 2011-01-27 16:07:30 -08:00
Michal Novotny 5e444a2dba Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker 2011-01-27 17:02:44 +02:00
Gervase Markham a0a1f1516f Bug 615530 - update .bt entry in PSL. a=jst. 2011-01-27 15:01:19 +00:00
Dave Townsend 23fdf3025d Backout of changeset 9acd51502a65 from bug 579846. a=bustage 2011-01-24 14:59:51 -08:00
Dave Townsend d6e35158cb Backout of changeset 38d1b321c98b from bug 579846. a=bustage 2011-01-24 14:58:20 -08:00
Sid Stamm ea85829c9d bug 557598 - Support strict-transport-security (STS) in private browsing mode; r=ehsan,dveditz a=blocking-betaN+ 2010-10-06 10:07:39 -07:00
Honza Bambas ee2433f53e Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended [Fennec part], r=jduell, a=betaN+ 2011-01-23 23:49:30 +01:00
Honza Bambas 46257e93e3 Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky+hsivonen, a=betaN+ 2011-01-23 23:49:30 +01:00
bjarne@runitsoft.com 370d0e7aa2 Bug 467392 - Docshell leak with document.write(document.body.innerHTML) and window.location.reload r=michal.novotny, a=blocking-final+ 2011-01-21 15:13:26 -05:00
Daniel Holbert 73ae517d85 Bug 626741 - Downgrade assertion to warning, for failed modifications to immutable urls. r=bz a=NPOTB (debug-only) 2011-01-20 19:49:09 -08:00
Bjarne f8e1cb8de4 Bug 620660 - Ensure the disk-cache stays around until all cache-operations have finished. r=michal.novotny a=jst 2011-01-20 13:41:10 -08:00
Makoto Kato 0a56de0ca0 Bug 616075 - HTML5 offline event support for Android. r=mwu a=blocking-fennec 2011-01-20 20:06:13 +09:00
Michal Novotny eb3bdc4e7d Bug 604897 - Unable to cache small entries when _CACHE_00[1-3]_ is full; r=mayhemer a=blocking-betaN+ 2011-01-18 16:12:10 +02:00
Michal Novotny 875cbda8f1 bug 543805 - FTP list parse error when list returns twice space between date and file name. r=honzab.moz@firemni.cz, a=blocker 2011-01-17 20:50:08 +02:00
Mounir Lamouri a88195a9fc Bug 623482 - Present error page when someone tries to access remote XUL. r+a=sicking
--HG--
extra : rebase_source : 2786e51db70ca0c66f6388376711e74816828c2d
2011-01-14 16:33:57 +01:00
Michal Novotny 649652344e Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker 2010-12-29 03:25:14 +02:00
Steven Michaud 34a61fbd7f Bug 620733 - java.security.AccessControlException when calling privileged Java methods from chrome. r=bz,jst a2.0=jst 2011-01-11 10:00:36 -06:00
Patrick McManus 9979419bae 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
Patrick McManus 8ad761ea74 Bug 613977 - Intermittent invalid certificate error prompt in security tests causing timeouts r=honzab a=beta-N 2011-01-05 08:37:45 -05:00
Josh Matthews 6e7b0137b9 Bug 616861 - Replicate behaviour of nsHttpChannel in regards to failure status codes in OnStopRequest. r=jduell a=blocking-fennec 2010-12-06 18:28:45 -05:00
Michal Novotny bf47b4a294 Bug 620194 - "ASSERTION: nsLoadGroup not thread-safe" under nsWyciwygCloseEvent::~nsWyciwygCloseEvent, r=bz, a=b 2010-12-23 01:56:26 +02:00
Dan Witte b255501115 Fix bug 616264. r=ehsan,sdwilsh, a=beta9+ 2010-12-22 13:50:56 -08:00
Honza Bambas 44943a56b7 Backout changeset f397877da0dd, a=backout 2010-12-22 18:25:15 +01:00
Honza Bambas 4449e81d18 Bug 613977 - Intermittent invalid certificate error prompt in security tests causing timeouts, r=mcmannus, a=blocking:beta9+ 2010-12-22 16:44:27 +01:00
Mark Banner 3b22162d5b Non-IPC Bustage fix from bug 613977/bug 614677/bug 614950 - add nsAutoPtr.h header to fix compilation bustage. a=Bustage fix 2010-12-16 14:35:12 +00:00
Patrick McManus 6993d42063 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
Shawn Wilsher f14c3b0dcc Merge Places and mozilla-central
a=bsmedberg
2010-12-15 19:24:51 -08:00
Shawn Wilsher 7cd8f091ad Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher 4d4634434f Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
Shawn Wilsher aeffa1f8c7 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher 5126652a70 Merge mozilla-central to Places. 2010-12-02 09:05:33 -08:00