Commit Graph

2524 Commits

Author SHA1 Message Date
Patrick McManus
69aa3d58c4 bug 631801 - workaround pr_available() assert r=honzab sr=biesi r=bsmith 2011-12-20 15:14:54 -05:00
Jeff Walden
55d623be48 Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
--HG--
extra : rebase_source : e87978380d0821746e7df78dfacc7e381aefccb3
2011-12-17 22:47:45 -05:00
Matt Brubeck
347ae519fe Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures 2011-12-19 10:43:08 -08:00
Jeff Walden
d6fa425c6b Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
--HG--
extra : rebase_source : 8ca811fe7427626e39f677a672986a27829b0feb
2011-12-17 22:47:45 -05:00
Patrick McManus
aa343b934b bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE 2011-12-13 10:55:50 -05:00
Ed Morley
8d3d1667ec Backout SPDY to keep us under the MSVC virtual address space limit during win PGO builds (bug 709193)
Backs out 952d14a9e508 (bug 707173), c170c678c9ac (bug 708305), 0a5f66d5d8e4 (bug 707662), 3204b70435fe (bug 706236) and the main landing range 48807fde0339:0bd45ead1676 (bug 528288).
2011-12-10 22:36:26 +00:00
Ed Morley
994e2f4cb4 Merge last green changeset of mozilla-inbound to mozilla-central 2011-12-09 11:12:51 +00:00
Neil Rashbrook
daba677bf4 Bug 698256 Add and use Substring(data, length) convenience method r=dbaron 2011-12-09 08:35:41 +00:00
Jeff Muizelaar
9317a91431 Bug 707800. Add more sampler labels. r=bgirard 2011-12-02 17:05:33 -05:00
Ed Morley
0042c62308 Merge mozilla-central and mozilla-inbound 2011-12-06 09:04:40 +00:00
Mark Banner
34bd0c10c3 Bug 557047 - Replace mailnews specific ifdef (MOZ_MAIL_NEWS) in cookie code with tests for a protocol flag. r=sdwilsh,sr=bzbarsky 2011-12-05 12:35:23 +00:00
Brandon Sterne
630f3382fc Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-05 09:42:08 -08:00
Julian Reschke
b91fee8432 Bug 562915 - Escape characters in content-type charset param not parsed properly. r=jduell 2011-12-03 15:59:55 +01:00
Randell Jesup
9c8c937ae9 Bug 706249 r=bz 2011-12-02 23:48:16 -05:00
Phil Ringnalda
3d87aaa765 Back out dcf31efc8c12 and 79c9926f0f45 (bug 702439) to investigate the effects on the browser-chrome leak 2011-12-02 19:43:24 -08:00
Brandon Sterne
ff1cde3069 Bug 702439 - allow subframes of CSP documents to run javascript: URLs, r=bz 2011-12-02 16:07:30 -08:00
Patrick McManus
bad3981a7f bug 528222 Basic SPDY web transport support. r=honzab r=bsmith sr=biesi
patch 0
2011-12-02 10:28:56 -05:00
Brian Smith
20c388403c Bug 674147 (Remove the SSL Thread) Part 2: Everything else, r=honzab 2011-12-01 14:37:57 -08:00
julian.reschke@gmx.de
8bbf8765f8 Bug 700589 - Fix Content-Type parser to treat single quote as regular character instead of a delimiter. r=jduell r=bz 2011-11-29 14:06:32 -08:00
Makoto Kato
e999cc59bc Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz 2011-11-25 11:23:41 +09:00
Matt Woodrow
21372f57be Bug 562289 - Using a system proxy should honor socks_remote_dns pref. r=biesi 2011-11-19 14:36:05 +01:00
Masatoshi Kimura
59ad76d69d Bug 647403 - Add a pref for CreateFixupURI to use UTF-8; r=bz 2011-11-09 16:02:14 +01:00
Honza Bambas
709ddbf93e Bug 684893 - part2: Happy-Eyeballs + let backup socket transport retry with both IPv4+6 on IPv6-only connection attempt failure, r=mcmanus 2011-11-02 17:18:54 +01:00
Patrick McManus
7bd44a1858 bug 692260 - pr_poll limit autodiscovery for windows r=jduell
--HG--
extra : rebase_source : dc9b024b4004e0a4025e843e94e046b4dd69dca9
2011-10-25 11:36:49 -04:00
Boris Zbarsky
14a6858a3a Bug 684806. Make sure that zero-size files wrapped in buffered streams are correctly reopened by a seek after EOF. r=honza, sr=bsmedberg 2011-10-18 16:17:10 -04:00
Martin Stransky
fe4c99084a Bug 627672 - XPCOM component (libdbusservice.so) is not registered although it should be, r=honzab 2011-10-18 18:46:59 +09:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Nathan Froyd
645296f209 Bug 682869 - update places to use Telemetry::AccumulateTimeDelta. r=tglek,khuey,jduell
--HG--
extra : rebase_source : 2b691d94f8352efb13e92294e22844e6473fd458
2011-10-10 13:05:47 -04:00
Ben Turner
c3b7b271ac Bug 683280 - 'Workers: creating workers from 'localhost' or an IP address fails'. r=sicking. 2011-10-13 14:45:22 -07:00
Jeff Walden
d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Steve Workman
309c5c36ae Bug 72444: Option to bypass proxy server for local addresses. r=honzab 2011-09-21 15:13:45 -04:00
Steve Workman
5e8f4fcbd9 Bug 373899: Add checks to nsStandardURL. r=honzab 2011-09-21 15:21:42 -04:00
Rafael Ávila de Espíndola
fb60b4fbd1 Bug 673017 - Misc places fixes. r=mak77.
This patch removes places-connection-closing, which is unused, reverts
1d1143dde4bb which was unnecessary and finalizes sql statements.

--HG--
extra : rebase_source : 8923378f4b1c58da8e128009efdf309f8ec29da3
2011-09-21 13:02:40 -04:00
Boris Zbarsky
73cb28130e Bug 444641 part 1. Factor out IsAboutBlank into nsNetUtil.h. r=jduell,jst 2011-09-20 17:00:41 -04:00
Phil Ringnalda
0693fea49c Back out 307b5fa030fd (bug 683280) for timeouts in test_ipAddressOrigin.html 2011-09-14 09:10:41 -07:00
Ben Turner
92f904aeb4 Bug 683280 - 'Workers: creating workers from 'localhost' or an IP address fails'. r=sicking. 2011-09-08 17:07:11 -07:00
Jason Duell
84adc211f5 Bug 686558 - Get rid of gcc warning about "enumeral mismatch" in nsNetUtil.h. r=bz 2011-09-13 15:15:28 -07:00
julian.reschke@greenbytes.de
65b4b6ed3c Bug 272541: Empty disposition type treated as 'attachment'. r=jduell 2011-09-12 20:14:16 -07:00
Randell Jesup
2cff549103 Bug 682845: Update IIDs, fix serializations of nsStandardURL broken by bug 665706 r/sr=bz 2011-09-10 05:27:29 -04:00
Nick Hurley
924d548d31 bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky 2011-09-09 15:41:04 -07:00
Ehsan Akhgari
319f91efee Backout changesets 58d026601240, c5a9a439d72c and cfdf675266b2 because of mochitest-3 crash
--HG--
extra : rebase_source : e6774b1220eabb7b9e2dce59bd487f48920d76b2
2011-09-08 22:04:43 -04:00
Ben Turner
ff1d59c4cb Bug 683280 - 'Workers: creating workers from 'localhost' or an IP address fails'. r=sicking.
--HG--
extra : transplant_source : IT%B5%DC%B6%D1%16%1F%C9%99%FF%F2%B5%5BV%3B%9E%99%F4%8D
2011-09-08 17:07:11 -07:00
Rafael Ávila de Espíndola
ac93007443 Bug 673017 - Shutdown nsIOService in NS_XPCOM_WILL_SHUTDOWN_OBSERVER_ID.
The nsIOService can use sBlockedScriptRunners and that is deleted by
LayoutShutdownObserver reacting to NS_XPCOM_SHUTDOWN_OBSERVER_ID, so we
cannot wait for NS_XPCOM_SHUTDOWN_OBSERVER_ID in nsIOService.

--HG--
extra : rebase_source : 17c7964c9a0a0b0dae896ab88885aacaaa68a01a
2011-09-08 15:42:09 -04:00
Felix Fung
0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Ed Morley
316e8aa92b Backout f3e28e0f909f (bug 451081) for M-oth shutdown crashes, on a CLOSED TREE; a=philor 2011-09-01 01:12:50 +01:00
Honza Bambas
c104cf24a5 Bug 451081 - Add flag to protocol handler to distinguish that trust domain is the whole spec, mozilla-central part, r=bzbarsky 2011-08-31 23:51:24 +02:00
Michael Wu
a66b1751b7 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Julian Reschke
af0dfc9e86 Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup 2011-08-22 16:51:52 +02:00
Sander van Veen
6048128013 Bug 673331 - Add identifying information to system compartments. r=mrbkap. 2011-08-21 16:02:24 -07:00
Honza Bambas
defd1da6aa Bug 673226 - Null timestamp usage in telemetry code; r=jduell.mcbugs 2011-08-21 09:27:29 +01:00
Benjamin Smedberg
43c6b83772 Bug 675221 part C - Remove XPCOM proxy usage from necko, r=jduell
--HG--
extra : rebase_source : 7bf53b5ac6f52df0224f4fdad78e172762fa7c64
2011-08-19 11:47:43 -04:00
Daniel Holbert
03a4a1f487 Bug 678573: Remove unused variable |pollError| from nsSocketTransportService::DoPollIteration. r=jduell 2011-08-16 09:26:59 -07:00
Brian Smith
57b7230f5d Bug 593077: Remove SSL 2.0 Support and Fortezza Cipher Suites, r=kaie 2011-08-15 22:38:56 -07:00
Randell Jesup
e8b73e990b Bug 677260: Add specIgnoringRef and hasRef for URIs. r=bz, sr=biesi 2011-08-15 17:18:15 -04:00
Michael Wu
fbcd07dca0 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Daniel Holbert
87789a99fa Bug 670542 patch 2: Rev iids of nsIURI & descendants. r=jst 2011-07-26 22:11:40 -07:00
Daniel Holbert
619f8fe844 Bug 670542 patch 1: Shift .ref-related additions to end of nsIURI.idl. r=jst 2011-07-26 22:11:08 -07:00
Patrick McManus
958d4193a0 bug 628561 release http persistent connection on force reload r=bz
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.
2011-07-22 12:31:37 -04:00
Boris Zbarsky
1507baa87f Bug 670553. Don't try to read more than aCount bytes in nsUnicharStreamLoader::OnDataAvailable. r=zwol 2011-07-21 17:31:36 -04:00
Patrick McManus
d9b003a128 Bug 641937 - Blacklist non-responding IP addresses in DNS r=bz
Blacklist non-responding IP addresses for a hostname so the next time
we access that hostname we don't have to wait for a timeout again
2011-07-21 09:18:01 -04:00
Matheus Kerschbaum
b0c1f89ef4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Randell Jesup
eb8a060ff4 Bug 656853: Fix file://#foo to not lose the #foo. r=bz 2011-07-12 14:07:28 -04:00
Randell Jesup
005fce6837 Bug 622981: Fix relative query/ref/param-only URLs where the base URL has encoded chars. Also greatly expand test_URI.js coverage from RFC 3986. r=bz 2011-07-12 14:07:24 -04:00
Doug Turner
7dbf23a135 Bug 667980: Expose network connection type to chrome. r=dougt
Add an attribute to nsINetworkLinkService that represents the connection type,
and add code to the android back-end to expose the connection type and notify
when it changes.
2011-07-10 15:24:05 -07:00
Randell Jesup
8dc1a280f1 Bug 662215 r=bz 2011-07-05 09:09:09 -04:00
Christian Biesinger
9fdec57a7b bug 621558 - Disable IPv6 for the 300ms-delayed backup connection to improve
the user experience of people with broken IPv6 connectivity (i.e. implement
Chrome's "Happy Eyeballs" strategy)
r=mcmanus
2011-07-04 11:47:09 +02:00
Honza Bambas
5555f4736c bug 658894 - Collect basic telemetry for HTTP requests and page load. r=jduell 2011-07-01 22:22:18 +02:00
Joe Drew
0169905f3e Back out fcf08eff68eb (Bug 658894) for causing Reftest assertions. 2011-06-28 14:42:06 -04:00
Honza Bambas
1b92ab5f6e Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell+tglek 2011-06-28 16:49:45 +02:00
Patrick McManus
fac9cc0418 Bug 666997 - Firefox Crash @ mozilla::net::nsPreloadedStream::AsyncWait() r=biesi 2011-06-25 10:49:42 -04:00
Ed Morley
3f49fdcb2a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Michal Novotny
60e90c98b0 Bug 504014 - Enforce RFC 3986 syntax for IPv6 literals 2011-06-23 17:04:23 +02:00
Ed Morley
cdd2b64d2f Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Mike Hommey
b7ab8c2806 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Patrick McManus
2fc0eb8394 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus
e32fb82ff7 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Matt Brubeck
3a92543b49 Back out caa97320d506 (bug 658580) temporarily to get m-i in a known good state. a=backout 2011-06-15 09:40:29 -07:00
Matt Brubeck
7c14d57369 Back out 58c903b0db40 (bug 658580) temporarily to get m-i in a known good state. 2011-06-15 09:39:42 -07:00
Matt Brubeck
92c16b265b Merge backout of bug 632404, bug 552864, bug 658995 2011-06-15 09:01:28 -07:00
Matt Brubeck
e3a9a86a79 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Patrick McManus
479cfc8c73 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus
aa810f7af6 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Mike Hommey
228b060c2b Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Daniel Holbert
935e50b305 Bug 662242: Swap out the old nsIURL IID for the new one, in nsBinaryInputStream::ReadObject. r=bz 2011-06-09 12:10:42 -07:00
Randell Jesup
6ddbc2b98e Bug 173561: move magic mask constant for nsIRequest into IDL file. r=biesi 2011-06-09 15:03:41 -04:00
Honza Bambas
6a8e4a1ddc Backout of changeset 701b76c4e716 2011-06-09 16:07:07 +02:00
Honza Bambas
6128e602b0 Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell 2011-06-09 14:04:16 +02:00
Kyle Huey
56b2bcdf35 Bug 661529: Add NS_ReadInputStreamToBuffer to complement NS_ReadInputStreamToString. r=biesi
--HG--
extra : rebase_source : 81b8876a34a2ec8c6fd0c2092b697fb8e2472a4a
2011-06-08 11:11:41 -07:00
Kyle Huey
4cdcf5bdcb Merge m-c to cedar again to bring over the fix for the android talos perma-orange. 2011-06-07 15:42:30 -07:00
Kyle Huey
22c5117a8a Merge m-c to cedar since I already pushed it in, and push what I actually wanted to push 2011-06-07 13:23:03 -07:00
Randell Jesup
bea04639ac Bug 125608: Reduce size of nsStandardURLs by average of 27+ bytes. r=bz 2011-06-07 12:17:40 -04:00
Jeff Walden
8ae72ea738 Bug 662001 - Use RangedPtr<T> in one location outside js/src/ to verify that mfbt/RangedPtr.h is usable by non-JS code. r=bz 2011-06-06 11:02:35 -07:00
Daniel Holbert
13c008cef5 Bug 661967: Remove never-read local variable from nsIOService::GetProtocolHandler. r=bz 2011-06-07 10:50:14 -07:00
Dominic Fandrey
968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Patrick McManus
9647e6891f bug 597706 - response header smuggling r=honzab
reject responses with multiple non identical or invalid
content-length headers
2011-05-31 19:51:51 -04:00
Honza Bambas
c998993a7c Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, comment correction 2011-05-29 16:14:21 +02:00
Honza Bambas
1d79c5da4a Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, r=bz 2011-05-29 15:55:38 +02:00
Mounir Lamouri
5dbe0fcb94 Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Mounir Lamouri
82bae5057c Backed out bug 125608 because of orange. 2011-05-27 09:53:26 +02:00
Mounir Lamouri
a0d81f4d6b Backed out bug 659871, changeset 0cf4fa02c0f2, because of orange. 2011-05-27 09:52:42 +02:00
Randell Jesup
9867547a8f Bug 659871: Don't allow nsStandardURL::SetPort to set an invalid port. r=bz 2011-05-27 02:46:41 -04:00
Randell Jesup
8400d1b3d4 Bug 125608: NewURI was allocating more memory than needed. r=bz 2011-05-27 02:46:33 -04:00
Randell Jesup
8cd0003489 Bug 507569: Fix possible crash in nsStandardURL::SegmentIs() (Coverity) r=bz 2011-05-27 01:44:15 -04:00
Daniel Holbert
3019f5c45f Bug 659698: Fix nsJSURL to handle the recent .ref additions to nsSimpleURI. r=bz 2011-05-26 01:20:06 -07:00
Emanuele Costa
69a7d078c2 Make nsJSURI inherit from nsSimpleURI. Bug 647570, r=bzbarsky 2011-05-25 16:23:07 -04:00
Daniel Holbert
5d3f90bd2b Bug 658949 patch 1: Teach nsDataHandler::ParseURI about #ref, and transfer 'isRefValid' flag in nsSimpleURI::Clone. r=bz 2011-05-24 17:40:10 +02:00
Mounir Lamouri
c82951ef5c Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
102eebe611 Bug 658949 patch 1: Teach nsDataHandler::ParseURI about #ref, and transfer 'isRefValid' flag in nsSimpleURI::Clone. r=bz 2011-05-24 03:37:54 -07:00
Daniel Holbert
964a4cc7ed Bug 659177: Update signature of nsAboutProtocolHandler::StartClone so that it continues overriding inherited method. r=bz a=sheriff
--HG--
extra : rebase_source : 50a7c76c3ce1d6988161047ee534b50f84bd26eb
2011-05-24 09:06:18 +02:00
Christian Biesinger
166c86719a Bug 658822 - Fix implementation of DNS timing in nsITimedChannel; r=jduell 2011-05-22 21:29:42 -07:00
Brad Lassey
c398b11302 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
Daniel Holbert
270f56506c Bug 308590 patch 4: Add impl for .ref on nsSimpleURI. r=bz 2011-05-21 18:12:45 -07:00
Daniel Holbert
2ee75e0a93 Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
f4110d2e96 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
a8ca33ca0f Bug 308590 patch 2: Move GetRef/SetRef from nsIURL to nsIURI. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
fbd90779a4 Bug 654797: Remove no-longer-relevant comment about ("classic") MacOS in documentation for nsIURI::Clone. r=bz 2011-05-21 18:12:21 -07:00
Christian Biesinger
132b0e1ea8 Bug 576006 - Implement timing interface for channels
r=jduell sr=bz
2011-05-21 03:03:36 -07:00
Patrick McManus
60bdd5f819 bugzilla 640213 Implement RFC 2616 "Upgrade" (Section 14.42) r=biesi sr=bz 2011-05-19 19:43:37 -04:00
Patrick McManus
5cbbb7cba7 Bug 654201 - avoid nsHttpConnection::IsAlive() running event loop for unused SSL connections r=honzab sr=biesi 2011-05-19 15:06:44 -04:00
Zack Weinberg
c526a0f788 Bug 541496 part 4: rewrite ns(I)UnicharStreamLoader to produce a string rather than a stream; use string-taking parser API for async style loads. r=bzbarsky 2011-05-18 21:22:59 -04:00
Ed Morley
91238e76b1 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Phil Ringnalda
3087bde664 Back out 40d44ce2377e (bug 640213) on suspicion of causing Windows crashes and timeouts in media tests 2011-05-14 20:13:57 -07:00
Patrick McManus
edb5534ce7 Bug 640213 - Implement HTTP 2616 Upgrade. r=biesi, sr=bz. 2011-05-14 18:55:54 +01:00
Patrick McManus
bc5dd2ba37 bug 640003 - websockets, nsIIOService2::NewChannelFromURIWithProxyFlags() r=biesi sr=bz 2011-05-13 13:53:27 -04:00
Mounir Lamouri
fc89f5809d Merging cedar with mozilla-central. 2011-05-08 18:23:36 +02:00
Ed Morley
a8711ede9f Bug 654552 - Remove WinCE code from netwerk/* ; r=cbiesinger 2011-05-07 10:03:16 +02:00
Zack Weinberg
3febb9d39a Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen 2011-05-06 08:45:33 -07:00
Oleg Romashin
46e3ef201d Bug 646412 - After Connection is established on MeeGo. Browser shows Error Page. r=wolfiR 2011-05-07 11:27:13 +03:00
Oleg Romashin
ceb21144c4 Bug 646412 - fix autodial pref initialization r=cbiesinger 2011-05-07 11:26:58 +03:00
Ehsan Akhgari
d092746b6a Backed out changeset 3c42531f4ec8 (bug 627672) because of possibility of being related to the Maemo oranges 2011-04-15 16:41:36 -04:00
Martin Stransky
25377361b8 Bug 627672 - XPCOM component (libdbusservice.so) is not registered although it should be; r=cbiesinger 2011-04-14 13:53:25 -04:00
Patrick McManus
d70ab6f02d bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell
--HG--
extra : rebase_source : cdcfdf33e201ba83ab9b3370facf8c7a16fe469d
2011-04-13 08:59:29 -04:00
L. David Baron
11a8d31d81 Backout changeset e6d044d30abf (bug 607741) for not compiling. 2011-04-11 23:17:43 -07:00
Patrick McManus
fa9e2d5fa0 bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell 2011-04-11 22:37:59 -07:00
Ehsan Akhgari
757178bcf2 Backout changeset 649e429d342f (bug 607741) because of mobile tree oranges 2011-04-11 13:28:41 -04:00
Ehsan Akhgari
a7607b6455 Merge cedar into mozilla-central 2011-04-08 22:28:05 -07:00
Jeremias Bosch
e8aec91d5f Bug 646396 - Update QtNetworkManager to new API useage; r=romaxa 2011-04-08 01:32:00 -07:00
Patrick McManus
6062e12478 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 : e333e36fe31b63d17c287ac6e876f27fdb69ce5b
2011-04-08 14:36:56 -04:00
Patrick McManus
a3b0c12c5f bug 607741 - lift 50 socket limitation r=jduell
raise sockettransportservice max sockets to 550 from 50 for linux, os
x, and windows >= xp. This does not change the default http
max-connections config (which remains at 30), but does allow
configurations above 50 to work and will enhance the utility of other
systems that use the sockettransportservice.

win9x provides a small number of sockets (100), so we just leave the
limits unchanged there out of conservatism.

--HG--
extra : rebase_source : 9d7a4b5a9112e17144fb510e3d8eb188919e5bf4
2011-04-08 14:36:38 -04:00
Matheus Kerschbaum
4eb6429f47 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Ehsan Akhgari
2cc302e02c Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
b8fdd3ad9d Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Patrick McManus
bdfd778eac bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
cccdef8b2f Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ehsan Akhgari
5d3a73028e Bustage fix coming from the bad merge; a=I'm-fired 2011-04-01 11:54:44 -04:00
Ehsan Akhgari
4342d9e7e4 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868 Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052 2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598 Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Ehsan Akhgari
36a6723fd4 Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Shawn Wilsher
7d081ee3fa Bug 632227 - NetUtil should have a helper method to read an input stream asynchronously
r=bz
sr=biesi
2011-03-31 10:24:42 -07:00
Kyle Huey
959ea8bc3e Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
b06dc06820 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Christopher Davis
4294ff8c9e Bug 280661 - SOCKS proxy server connection timeout hard-coded; r=bzbarsky 2011-02-24 15:10:08 +02:00
Ehsan Akhgari
23f78e2226 Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Alon Zakai
f70f37723b Bug 645535 - Remove WARNING from nsFileStreams.cpp. r=bz 2011-03-30 13:40:47 -04:00
Justin Lebar
d5dcbf68a6 Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
bd51cb9b94 Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg 2011-03-31 20:15:27 -04:00
Jeff Muizelaar
18b3ad188c Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Patrick McManus
82e6a8e87c bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04: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
Joe Drew
1693a03da5 Back out bug 542401 (3fe7fcd60880) on suspicion of causing Tp regressions. 2011-03-24 20:30:06 -04:00
Ehsan Akhgari
a0a65195df Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Karl Tomlinson
2c6bb15624 backout bug 280661 due to test_socks.js test failure 2011-03-24 21:37:53 +13: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
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
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
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
a5edaf27e8 Bug 637361: Backout bug 573043 2011-03-01 19:11:22 -08: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
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
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
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
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
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
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
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
Shawn Wilsher
7cd8f091ad Merge mozilla-central to Places. 2010-12-13 15:08:04 -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
Shawn Wilsher
7a35d860e3 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Ehsan Akhgari
6651ae9849 Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+ 2010-11-25 00:20:11 -05:00
Ehsan Akhgari
7daaa00ea9 Backed out changeset 630b08a7fe63 because of xpcshell test failures 2010-11-30 13:57:24 -05:00
Ehsan Akhgari
dfed869c9f Bug 614286 - Don't initialize the socket transport service unless we know that we're online; r=bzbarsky a=blocking-beta8+ 2010-11-25 00:20:11 -05:00
Christian Biesinger
88ff626760 Backed out changeset dd249f45dc3d
Clearly I don't know hg well enough, didn't mean to commit all this. a=I-messed-up
2010-11-29 15:34:30 -08:00
Christian Biesinger
6f6cd3b97a Bug 614717 Make test_bug369787.js not hang when the test fails by ensuring
that do_test_finished is called even when an exception is thrown.
Also make the test work in the presence of PAC, where the channel changes
between asyncOpen and onStartRequest.

r=bz a=test-only
2010-11-29 15:28:40 -08:00
Shawn Wilsher
d47a50d39b Bug 607115 - use a much smaller guid format than we currently use for bookmarks
Part 1 - Mark and make nsIRandomGenerator threadsafe.
r=kaie
2010-11-23 16:04:28 -08:00
Dan Witte
7ba8683bb3 Bug 606719 - Browser stalls with connections left hanging in TCP close wait state. Part 1: rename LOG to SOCKET_LOG. r=mcmanus, a=b7+ 2010-10-28 10:09:08 -07:00
Honza Bambas
76abdfb524 Bug 575950 - (Fennec) SSL certificate is not confirmed for secure webpages, r=kaie+bz, a=blocking-fennec:2.0.b2+ 2010-10-26 13:57:18 +02:00
Bjarne Herland
727e552b95 Bug 586908 - Infinite requests when proxy from system settings is redirected r=biesi, a=blocker 2010-10-25 15:47:40 -07:00