Commit Graph

2153 Commits

Author SHA1 Message Date
Randell Jesup
444453be47 Bug 662215 r=bz 2011-07-05 09:09:09 -04:00
Jason Duell
7930ebccb9 bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:32 -07:00
Patrick McManus
054a2164a5 bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:30 -07:00
Jason Duell
88143d01fa bug 664860. Convert WebSocketChannel to 2 space indents. r=biesi. 2011-07-04 21:18:34 -07:00
Jason Duell
2fd7bcda1f bug 664860. Rename nsWebSocketHandler -> WebSocketChannel. r=biesi
--HG--
rename : netwerk/protocol/websocket/nsWebSocketHandler.cpp => netwerk/protocol/websocket/WebSocketChannel.cpp
rename : netwerk/protocol/websocket/nsWebSocketHandler.h => netwerk/protocol/websocket/WebSocketChannel.h
2011-07-04 21:18:33 -07:00
Jason Duell
45ea24eb5d Bug 664860. Rename nsIWebSocketHandler -> nsIWebSocketChannel. r=biesi
--HG--
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketChannel.idl
rename : netwerk/protocol/websocket/nsIWebSocketProtocol.idl => netwerk/protocol/websocket/nsIWebSocketListener.idl
2011-07-04 21:18:32 -07:00
Marco Bonardo
c6859b3730 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-04 12:46:07 +02:00
Christian Biesinger
60ccc8af25 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
27509e418e bug 658894 - Collect basic telemetry for HTTP requests and page load. r=jduell 2011-07-01 22:22:18 +02:00
Philipp von Weitershausen
c28032f446 Bug 668642 - Make nsIHttpHeaderVisitor a [function] interface. r=bz 2011-06-30 23:55:56 +02:00
Josh Matthews
180c7a5397 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Nick Hurley
b6fb7a423c bug 687085 - telemetry for hit/reval/miss by device type. r=mcmanus 2011-10-06 12:02:23 +02:00
Joe Drew
334e33649c Back out fcf08eff68eb (Bug 658894) for causing Reftest assertions. 2011-06-28 14:42:06 -04:00
Joe Drew
b5189f219a Back out fcf08eff68eb (Bug 662555) for causing reftest assertions. 2011-06-28 14:41:14 -04:00
Honza Bambas
e60c86ffac Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell+tglek 2011-06-28 16:49:45 +02:00
Honza Bambas
0e32a4cab2 Bug 662555 - Race condition when measuring requestEnd, r=jduell 2011-06-28 16:49:45 +02:00
bjarne@runitsoft.com
14b041f05f Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Han Chang
15d6892b7b Bug 605979 - Remove unsound ASSERTION: IDN node too large (hit with globalStorage.namedItem); r=mayhemer 2011-06-26 18:28:46 +02:00
Matt Brubeck
6a1c07e10e Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Patrick McManus
ebd9efe793 bug 664305 - websocket max connection limitation r=biesi
--HG--
extra : rebase_source : 7229d30f28b529c0fe7f22277a21c9a0f007d14d
2011-06-25 14:28:27 -04:00
Patrick McManus
c7c89d6a3e Bug 666997 - Firefox Crash @ mozilla::net::nsPreloadedStream::AsyncWait() r=biesi 2011-06-25 10:49:42 -04:00
Kyle Huey
05f4101131 Fix websockets-disabled build with an ifdef. rs=mcmanus (No bug) 2011-06-24 11:00:46 -07:00
Marco Bonardo
d50a414c3e Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Jason Duell
f6ae5087c9 Bug 666502. DONTBUILD. Document how we make sure HTTP headers have been read by time OnStartRequest called. r=bz 2011-06-23 14:41:45 -07:00
Jason Duell
78bbcf1909 Bug 665521 - Update Ruben Arakelyan's email address *correctly* in the PSL. r=biesi 2011-06-23 14:11:18 -07:00
Ruben Arakelyan
45a7dd081f Bug 665521 - Update Ruben Arakelyan's email address in the PSL. r=biesi 2011-06-23 14:04:45 -07:00
Michal Novotny
6d1f6742fe Bug 504014 - Enforce RFC 3986 syntax for IPv6 literals 2011-06-23 17:04:23 +02:00
bjarne@runitsoft.com
ec668f29cd Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne 2011-06-22 10:49:35 +02:00
Patrick McManus
9865d771ba bug 663871 websockets -08 bump our version number and the version number in the test server r=biesi 2011-06-21 10:50:02 -04:00
Patrick McManus
7b9bf403d2 bug 663871 websockets -08 sec 7.1.1 says we SHOULD pause to allow server to send first TCP FIN r=biesi 2011-06-21 10:49:50 -04:00
Patrick McManus
690a511dc8 bug 663871 websockets -08 sec 7.4.1 defines two new close codes r=biesi 2011-06-21 10:49:38 -04:00
Patrick McManus
8b2887761a 663871 - enforce messages that must be UTF-8 by checking that and failing the connection if necessary r=rbiesi 2011-06-21 10:49:19 -04:00
Patrick McManus
3c4eed0994 Bug 665518 - Websocket enforce high bit of 64 bit length r=biesi 2011-06-21 10:49:04 -04:00
Patrick McManus
e86b1a09dc backout 15c3543f4647 so it can be re-merged with valid description 2011-06-21 10:45:24 -04:00
Patrick McManus
49b3d76372 backout 627d6b32976b so it can be re-merged with valid description 2011-06-21 10:45:03 -04:00
Patrick McManus
4d4c65ec06 backout b22f0cccfa7f so it can be re-merged with bug number in description 2011-06-21 10:44:07 -04:00
Patrick McManus
124108c75b backout cf7152d215b2 so it can be re-merged with bug number in description 2011-06-21 10:43:32 -04:00
Patrick McManus
38e1b42535 backout 923beecc0fe5 so it can be re-merged with bug number in description 2011-06-21 10:42:54 -04:00
Patrick McManus
b7f1405429 websockets -08 bump our version number and the version number in the test server r=biesi 2011-06-21 09:47:35 -04:00
Patrick McManus
c2e3687493 websockets -08 sec 7.1.1 says we SHOULD pause to allow server to send first TCP FIN r=biesi 2011-06-21 09:47:35 -04:00
Patrick McManus
c11db9c041 websockets -08 sec 7.4.1 defines two new close codes r=biesi 2011-06-21 09:47:34 -04:00
Patrick McManus
d36ed63330 663871 - enforce messages that must be UTF-8 by checking that and failing the connection if necessary 2011-06-21 09:47:34 -04:00
Patrick McManus
be8ac00dfa Bug 665518 - Websocket enforce high bit of 64 bit length try: -b d -p linux -u mochitest-1 -t none 2011-06-21 09:47:32 -04:00
Ed Morley
1264376be3 Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Mounir Lamouri
38dbd10996 Merging mozilla-central with mozilla-inbound. 2011-06-17 15:26:17 +02:00
Neil Rashbrook
26adff7f97 Bug 660527 Remove useless uses of PromiseFlatCString r=biesi 2011-06-16 21:25:20 +01:00
Mike Hommey
95fbb011b5 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Patrick McManus
096daafcf1 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus
b3c5916d33 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Matt Brubeck
5289790b51 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
968d7fd4f5 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
24b42b347c Merge backout of bug 632404, bug 552864, bug 658995 2011-06-15 09:01:28 -07:00
Matt Brubeck
28a99ad4d4 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Patrick McManus
8cd302aa33 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus
8e1391e0b4 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Philipp von Weitershausen
5519419262 Back out bug 664163 (changeset cfb40abb9655) due to failure in test_traceable_channel_wrap.js 2011-06-15 11:00:04 +02:00
Mike Hommey
899e31b0e1 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Jason Duell
380d97da7d Bug 664163. Fix implementation of Implement Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2011-06-14 09:12:03 -07:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Josh Matthews
e43e13a47d Bug 663893 - Avoid null dereferences in websocket handler. r=mcmanus 2011-06-13 14:30:07 -04:00
Ehsan Akhgari
47e21692fc Back out Dao's push because of build bustage 2011-06-14 00:17:10 -04:00
Josh Matthews
f016883634 Bug 663893 - Avoid null dereferences in websocket handler. r=mcmanus 2011-06-13 14:30:07 -04:00
Ted Mielczarek
a88f0715f0 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Jason Duell
d062346c8e Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm 2011-06-11 18:37:09 -07:00
Nick Hurley
092371ea1a Bug 637339 - Improve error handling in HttpChannelChild. r=honzab 2011-06-11 18:37:03 -07:00
bjarne@runitsoft.com
1b7ff0ec91 Bug 618835 - Cannot login to phpmyadmin if I made a typo during my first login attempt r=bz 2011-06-11 16:57:10 +02:00
timeless@mozdev.org
57239eacfd Bug 538724 Firefox 3.6.x + winxp topcrash starting ~Dec 30 and increasing [@ nsHttpTransaction::DeleteSelfOnConsumerThread() ]
r=biesi
2011-06-11 16:56:36 +02:00
Ed Morley
eb202536cf Bug 659944 - Remove leftover MOZ_IPC ifdef in nsHttpChannel.cpp; r=cbiesinger 2011-06-11 09:12:34 +02:00
Ehsan Akhgari
6c1844bd61 Merge mozilla-inbound into mozilla-central 2011-06-09 18:30:11 -04:00
Jason Duell
424230b54e Bug 663229 - e10s HTTP: initialize prnetaddrs correctly in child. r=jdm 2011-06-09 14:02:09 -07:00
Daniel Holbert
f9082b947a 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
3447b1dc0e Bug 173561: move magic mask constant for nsIRequest into IDL file. r=biesi 2011-06-09 15:03:41 -04:00
Honza Bambas
cc9f417012 Backout of changeset 701b76c4e716 2011-06-09 16:07:07 +02:00
Honza Bambas
fb3dc85ca9 Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell 2011-06-09 14:04:16 +02:00
Kyle Huey
ff9fd1748b 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
4c6fa934a1 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
Josh Matthews
0bb92cb891 Bug 661998 - Fix risky use of nsITimer in xpcshell test. r=gavin 2011-06-07 04:45:36 -04:00
Kyle Huey
d2da8f5e6c 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
Kyle Huey
151af10b12 Bug 662122: Add leak logging annotations to some WebSockets classes. r=mcmanus 2011-06-07 13:12:19 -07:00
Jonathan Protzenko
1b9ca7ae96 Bug 662126 - Audit ConfirmEx callers to ensure that aCheckState is not an uninitialized PRBool r=bz 2011-06-07 20:06:12 +02:00
Randell Jesup
647ee8dc28 Bug 125608: Reduce size of nsStandardURLs by average of 27+ bytes. r=bz 2011-06-07 12:17:40 -04:00
Jeff Walden
659de83b44 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
70f5d4d89e Bug 661967: Remove never-read local variable from nsIOService::GetProtocolHandler. r=bz 2011-06-07 10:50:14 -07:00
Jacek Caban
ab9e18c25c Bug 661517 - nsWebSocketHandler.cpp fails to compile on mingw-w64 r=mcmanus DONTBUILD 2011-06-06 13:16:22 +02:00
Patrick McManus
30807283a7 Bug 661136 - websockets setuprequest in redirect path return not used r=beisi
--HG--
extra : rebase_source : e3ba9a7e4e5a5beb02c441ae03b3825e76e72d49
2011-06-02 20:48:06 -04:00
Patrick McManus
dd0f45455f bug 660613 - websockets fix where platform has < 32bits of RAND_MAX r=biesi
--HG--
extra : rebase_source : 276be91e1eb90b5101536cc95e41d9b4e892f0e1
2011-06-02 20:48:06 -04:00
Patrick McManus
69dd10b7f4 bug 597706 - test for double content length in response header r=jduell
--HG--
extra : rebase_source : 66ce23e335720742724250d248c9947dfd4eb33c
2011-06-02 20:48:05 -04:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Patrick McManus
14fd4e9ce5 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
Ed Morley
af1d9c6c2b Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Chris Pearce
7faba3664c Bug 508128 - add gc() in httpd.js, reduces memory by 1GB in xpcshell.exe during mochitest run. r=jwalden 2009-08-04 16:55:00 -04:00
Mounir Lamouri
53c39f24f1 Merging cedar with mozilla-central. 2011-05-30 12:50:04 +02:00
Henri Sivonen
c22caad492 Bug 656904 - Make the view-source: URL constructor pay attention to the base URL. r=bzbarsky. 2011-05-30 09:07:48 +03:00
Honza Bambas
93540b483c Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, comment correction 2011-05-29 16:14:21 +02:00
Honza Bambas
923a9677e4 Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, r=bz 2011-05-29 15:55:38 +02:00
Daniel Holbert
2cae6f9959 Bug 660066 patch 2: Prevent nsFileDataURI from QI'ing to nsSimpleURI. r=bz 2011-05-27 21:55:20 -07:00
Daniel Holbert
1ff06e3afb Bug 660066 patch 1: Null-check mPrincipal in nsFileDataURI::EqualsInternal. r=bz 2011-05-27 16:53:06 -07:00
Daniel Holbert
a688dcaeef Bug 660066 patch 0: Add some more test URIs to test_URIs.js xpcshell test. r=bz 2011-05-27 16:53:03 -07:00
Mounir Lamouri
927ee0c01a Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Mounir Lamouri
cd6b283df4 Backed out bug 125608 because of orange. 2011-05-27 09:53:26 +02:00
Mounir Lamouri
21d4fb1a0d Backed out bug 659871, changeset 0cf4fa02c0f2, because of orange. 2011-05-27 09:52:42 +02:00
Randell Jesup
8e3b689de5 Bug 659871: Don't allow nsStandardURL::SetPort to set an invalid port. r=bz 2011-05-27 02:46:41 -04:00
Randell Jesup
b44bd495b7 Bug 125608: NewURI was allocating more memory than needed. r=bz 2011-05-27 02:46:33 -04:00
Randell Jesup
b23a547d6a Bug 507569: Fix possible crash in nsStandardURL::SegmentIs() (Coverity) r=bz 2011-05-27 01:44:15 -04:00
Daniel Holbert
54188974e6 Bug 659698: Fix nsJSURL to handle the recent .ref additions to nsSimpleURI. r=bz 2011-05-26 01:20:06 -07:00
Mounir Lamouri
cdd5310491 Merging cedar with mozilla-central. 2011-05-26 08:34:54 +02:00
Randell Jesup
72108621f5 Backed out changeset 369680a6f40b - apparent blown merge 2011-05-26 00:26:31 -04:00
Randell Jesup
924edb8dcd Bug 125608: NewURI did larger allocations than needed - r=bz 2011-05-25 23:39:31 -04:00
Bjarne
94e5da14c6 Fixing part of bug 659569. Fix issue with Firefox getting stuck in a redirect loop when connecting to Ubiquiti radio equipment. r=bzbarsky@mit.edu 2011-05-25 15:23:05 -07:00
Emanuele Costa
1794453516 Make nsJSURI inherit from nsSimpleURI. Bug 647570, r=bzbarsky 2011-05-25 16:23:07 -04:00
Matt Brubeck
ec953fc5a6 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Patrick McManus
2ead98965f 604796 - close our idle HTTP connection when server closes its end r=honzab
--HG--
extra : rebase_source : b4c89df4d3eab7b7c8c60d625467847557bc7291
2011-05-16 09:32:37 -04:00
Julian Reschke
58bfed45f8 Bug 655238 - add "application/xslt+xml" as media type for XSLT, affects stylesheet loading both from processing instruction and HTTP Link header field, also adding it to the Accept header sent when fetching XSLTs. r=sicking 2011-05-28 14:34:36 +02:00
Daniel Holbert
c6200a94b0 Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz 2011-05-24 17:40:35 +02:00
Daniel Holbert
48efea9ab8 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
e97a7a4ee5 Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
0932137d8d Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz a=sheriff 2011-05-24 03:39:31 -07:00
Daniel Holbert
9c8854da80 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
d49f86beba 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
Jason Duell
05cec30300 Bug 646373 - Fix AdBlock2 on fennec (nsITraceableChannel.setNewListener() is unimplemented under e10s.) r=honza, a=queue 2011-05-24 02:32:26 -07:00
Jason Duell
8126bb2e85 Remove broken GetLocal calls in test_traceable_channel.js, r=jduell, a=queue 2011-05-24 02:29:02 -07:00
Jason Duell
db6cc3f4b0 Add missing OnExamineResponse() call to e10s HTTP. r=biesi 2011-05-23 22:14:16 -07:00
Michal Novotny
e2449dc59b Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff 2011-05-20 19:27:11 +02:00
Gervase Markham
1260fd2a31 Bug 658977 - Add co.nl and co.no to PSL. 2011-05-23 21:24:27 +01:00
Jothan Frakes
97dbb20269 Bug 654953 - Remove !tsk.tr rule from PSL. 2011-05-23 21:21:58 +01:00
Gervase Markham
59e7ab452d Bug 658965 - Update PSL for .uk. 2011-05-23 21:09:31 +01:00
Christian Biesinger
1c8d1318a9 Bug 658822 - Fix implementation of DNS timing in nsITimedChannel; r=jduell 2011-05-22 21:29:42 -07:00
Matheus Kerschbaum
35f86c76ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Honza Bambas
e396bc485c Bug 658876 - nsHttpChannel.mAsyncOpenTime should be set after mLoadGroup->AddRequest, r=cbiesinger 2011-05-23 16:38:24 +02:00
bjarne@runitsoft.com
1419977b7f Bug 633743 - reverting closed tab with pushState changes sends request with HTTP_X_REQUESTED_WITH:XMLHttpRequest r=bzbarsky
With this change, we check for ResponseWouldVary() to make sure that we're talking about the same entity as the caller before we worry about whether the caller passed LOAD_FROM_CACHE and such.  If what we have cached is just fundamentally different from what the caller wants, we don't want to return it.
2011-05-23 16:47:02 -04:00
Brad Lassey
66de27b901 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
wfernandom2004@gmail.com
5963fbfd3b Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Patrick McManus
2ded010403 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Daniel Holbert
cd0876ad2c Bug 308590 patch 6: Fix nsDataHandler::NewURI to accept relative URI specifications like "#myRef". r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
ff123ba64d Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz 2011-05-21 18:12:46 -07:00
Daniel Holbert
57db49e40e Bug 308590 patch 4: Add impl for .ref on nsSimpleURI. r=bz 2011-05-21 18:12:45 -07:00
Daniel Holbert
c0b880ca57 Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
2ebeeb1a30 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
9d71111551 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
890622867a Bug 308590 patch 1: Revamp test_URIs.js, including some tests for .ref (which will be supported on URIs after the rest of this bug's patches). r=bz 2011-05-21 18:12:45 -07:00
Daniel Holbert
76a46af131 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
c93ab7d02c Bug 576006 - Implement timing interface for channels
r=jduell sr=bz
2011-05-21 03:03:36 -07:00
Gervase Markham
cc4bb69a71 Remove broken .pk IDN items in PSL. a=orange. 2011-05-20 18:27:05 +01:00
Gervase Markham
b998fde220 Bug 632595 - update PSL for .eg and .uk. r=pkasting. 2011-05-20 17:09:26 +01:00
Gervase Markham
a2db24dab6 Bug 638195 - update PSL for .br. r=pkasting. 2011-05-20 17:08:56 +01:00
Gervase Markham
70354754de Bug 638749 - update PSL for .do. r=pkasting. 2011-05-20 17:08:17 +01:00
Gervase Markham
565f6e6515 Bug 658084 - add many new IDN TLDs to PSL. Patch by Jothan Frakes <jothan@gmail.com>; r=gerv. 2011-05-20 17:02:25 +01:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mounir Lamouri
c746e1b312 Backout bug 632595, bug 638195, bug 638749 and bug 658084 due to oranges on xpcshell. 2011-05-20 16:54:30 +02:00
Gervase Markham
8814b41187 Bug 658084 - add many new TLDs to PSL. patch by Jothan Frakes <jothan@gmail.com>, r=gerv. 2011-05-20 14:12:52 +01:00
Gervase Markham
1462bc2897 Bug 638749 - update PSL for .do. r=pkasting. 2011-05-20 14:11:16 +01:00
Gervase Markham
6d9c5237cd Bug 638195 - update PSL for .br. r=pkasting. 2011-05-20 14:10:39 +01:00
Gervase Markham
675d2d8a69 Bug 632595 - update public suffix list for changes in .eg and .uk. r=pkasting. 2011-05-20 14:09:29 +01:00
Patrick McManus
ec459a736d bugzilla 640213 Implement RFC 2616 "Upgrade" (Section 14.42) r=biesi sr=bz 2011-05-19 19:43:37 -04:00
Patrick McManus
dc8193162b Bug 654201 - avoid nsHttpConnection::IsAlive() running event loop for unused SSL connections r=honzab sr=biesi 2011-05-19 15:06:44 -04:00
Mounir Lamouri
7818f38b2c Backout bug 654926 because of perma orange on Win Opt xpcshell. 2011-05-19 18:54:26 +02:00
Bjarne
a772594402 Tests for bug 654926. r=michal 2011-05-19 12:54:02 +02:00
Bjarne
22342d3341 Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube. r=michal 2011-05-19 12:45:51 +02:00
Zack Weinberg
9b2aa00b71 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
Mounir Lamouri
3614c727b5 Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Mike Hommey
06f58093ca Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-05-10 15:50:15 +02:00
Tuukka Tolvanen
3d2315a7b1 Bug 290274 - [mozTXTToHTMLConv] 'clever formatting' of plaintext strips caret from superscript display (x^2 => x2); r=BenB,honzab 2011-05-16 08:59:18 +01:00
Phil Ringnalda
732ca210bc Back out 40d44ce2377e (bug 640213) on suspicion of causing Windows crashes and timeouts in media tests 2011-05-14 20:13:57 -07:00
Mike Hommey
e56745d75b Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
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-02-25 12:53:36 +01:00
Patrick McManus
9bffb83e96 Bug 640213 - Implement HTTP 2616 Upgrade. r=biesi, sr=bz. 2011-05-14 18:55:54 +01:00
Phil Ringnalda
2a38c0d921 Back out 93604789da99 (bug 637339) on suspicion of causing timeouts in Linux debug test_httpsuspend_wrap.js CLOSED TREE 2011-05-13 20:48:38 -07:00
Nick Hurley
1a02346a21 Bug 637339 - Improve error handling in HttpChannelChild. r=jduell 2011-05-13 18:02:07 -07:00
Daniel Holbert
1a6de944a3 Merging cedar with mozilla-central. 2011-05-13 17:17:56 -07:00
Patrick McManus
848aca833e bug 654201 - an idle persistent connection could be run with the wrong security callbacks r=honzab 2011-05-13 13:28:30 -07:00
Patrick McManus
9cf999e2db bug 640003 - websockets, nsIIOService2::NewChannelFromURIWithProxyFlags() r=biesi sr=bz 2011-05-13 13:53:27 -04:00
Daniel Holbert
44c0e683a0 Bug 656992: Use DebugOnly<> to fix 'unused variable' opt build warnings in NeckoMessageUtils.h. r=jduell 2011-05-13 13:25:31 -07:00
Dão Gottwald
89afcea3e6 Bug 655628 - Remove unused Accept_Charset atom. r=biesi
--HG--
extra : rebase_source : 27f4ded368d8ed2519eb40bdb96bbfa6ff06111d
2011-05-10 09:46:14 +02:00
Steven Michaud
f6cb0dce31 Bug 654725 - Changes in OS X 10.7 break our Wi-Fi monitor code, causing crashes (followup fix). r=josh 2011-05-11 15:05:28 -05:00
Michael Wu
034def94d2 Merge backout (to fix bug 656172) 2011-05-10 19:10:01 -07:00
Michael Wu
4746e4ca82 Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer 2011-05-10 18:27:51 -07:00
Siddharth Agarwal
ff204b309c Bug 656099 - bustage fix: add a null param to scheduleUpdate calls. CLOSED TREE
Bug 536295 changed the API, but these calls were missed.
2011-05-11 01:28:33 +05:30
Steven Michaud
ca466709eb Bug 654725 - Changes in OS X 10.7 break our Wi-Fi monitor code, causing crashes. r=josh 2011-05-10 14:44:17 -05:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Mike Hommey
2fad7fdcdb Bug 620931 part 4 - Fix resource://app/ to always point to the same as resource:///. r=bsmedberg 2011-05-10 15:50:15 +02:00
Mike Hommey
b0924cc77f Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
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-02-25 12:53:36 +01:00
Mike Hommey
60d6df30fa Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-02-25 12:48:02 +01:00
Mounir Lamouri
69a6bfc5d9 Merging cedar with mozilla-central. 2011-05-08 18:23:36 +02:00
Ed Morley
d460b89ece Bug 654552 - Remove WinCE code from netwerk/* ; r=cbiesinger 2011-05-07 10:03:16 +02:00
Zack Weinberg
66c29ada9f Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen 2011-05-06 08:45:33 -07:00
Nick Hurley
1e329e6c27 bug 648878 - move get(local|remote)(address|port) to httpchannelchild r=jduell 2011-05-05 11:45:59 -04:00
Boris Zbarsky
e3b91fffc2 Backed out changeset 998b91ea0ffa (bug 648878) because it doesn't build on Windows. 2011-05-03 19:34:58 -04:00
Nick Hurley
d9b9d8ca90 bug 648878 - move get(local|remote)(address|port) to httpchannelchild, r=jduell 2011-05-03 17:47:05 -04:00
Patrick McManus
ae39c259af Bug 653530 - HTTP Transaction multiply dispatched r=honzab
--HG--
extra : rebase_source : 6ba6ea647bd83154f03ded03ec4fc88580fc8f2f
2011-04-29 15:32:40 -04:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Patrick McManus
fa5755bdc7 bug 652761 ABORT: half open complete but no item: 'index != -1' with embedded src port 80000 r=honzab 2011-04-28 17:43:24 -04:00
Christian Biesinger
80d3f2f2bc Unbreak android from cset acb6850ca38c / Bug 650429 - it doesn't have getpass. 2011-04-28 13:15:46 -07:00
Christian Biesinger
1f1bfe7e3e Bug 650429 - Enable TestProtocols with libxul
r=bz
2011-04-28 11:30:30 -07:00
Ms2ger@gmail.com
f7ccb3b375 Bug 572652 - Remove the Accept-Charset header from HTTP requests. r=bz 2011-05-08 10:33:18 +02:00
Oleg Romashin
82f924d80a Bug 646412 - After Connection is established on MeeGo. Browser shows Error Page. r=wolfiR 2011-05-07 11:27:13 +03:00
Oleg Romashin
0f074cf496 Bug 646412 - fix autodial pref initialization r=cbiesinger 2011-05-07 11:26:58 +03:00
Mounir Lamouri
78a7e5f199 Merge cedar with mozilla-central. 2011-04-20 10:15:33 +02:00
Daniel Holbert
ba9a18927d Bug 650871: Use unsigned int as loop counter in nsHttpConnectionMgr::OnMsgReclaimConnection, to fix GCC warning. r=biesi r=mcmanus 2011-04-20 01:28:38 +02:00
Philipp von Weitershausen
84bbbabc50 Bug 648367 - Add run_next_test to head.js. r=ted 2011-04-18 13:31:20 -07:00
Bjarne
61e359bef6 Bug 549767 - Write/flush cache metadata off main-thread. r=michal.novotny 2011-04-17 19:31:15 +02:00
Ehsan Akhgari
be7c8f4755 Backed out changeset 3c42531f4ec8 (bug 627672) because of possibility of being related to the Maemo oranges 2011-04-15 16:41:36 -04:00
Ehsan Akhgari
d2fd2352f9 Merge cedar into mozilla-central 2011-04-15 09:35:11 -04:00
Julian Reschke
828df5f630 Bug 588389 - content-disposition: escaped characters in quoted-string give funny results; r=bzbarsky 2011-04-14 12:08:10 -07:00
Adam Barth
1d2b11171a Bug 610218 - Quotes in "path" for Set-Cookie are taken literally; r=dwitte 2011-04-14 15:58:42 -04:00
Martin Stransky
8368253253 Bug 627672 - XPCOM component (libdbusservice.so) is not registered although it should be; r=cbiesinger 2011-04-14 13:53:25 -04:00
Mitchell Field
0242a07b36 Merge mozilla-central to build-system. 2011-04-19 13:22:32 +10:00
Mitchell Field
f71a73dc12 Merge mozilla-central to build-system. 2011-04-16 00:27:18 +10:00
Mitchell Field
30071eb146 Merge mozilla-central to build-system. 2011-04-14 12:05:07 +10:00
Jacek Caban
ebd3fbcabb Bug 647820 - Don't use -mno-cygwin on mingw compilation (m-c part) r=ted.mielczarek 2011-04-11 13:41:00 +00:00
Jeremias Bosch
c9daa0c25d Bug 646396 - Update QtNetworkManager to new API useage. r=romaxa 2011-04-08 11:51:32 -07:00
Ehsan Akhgari
ef53848cec Merge cedar into mozilla-central 2011-04-06 16:39:14 -07:00
Patrick McManus
c1ace42ab7 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
timeless@mozdev.org
d5226cebcd Bug 619685 unused variable dataSize in nsDiskCacheStreamIO::FlushBufferToFile
r=jduell
2011-04-06 11:14:10 -07:00
Matheus Kerschbaum
93480c6366 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07:00
Patrick McManus
157bd1d75c Bug 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.
2011-03-23 11:02:33 -04:00
Patrick McManus
4bd3cac746 Bug 632419 - HTTP 100 level parser race condition r=bz 2011-03-23 10:59:58 -04:00
Ehsan Akhgari
b436006b1d Merge cedar into mozilla-central 2011-04-02 11:48:22 -04:00
Ginn Chen
ce05b4db21 Bug 647150 Fix compile of nsWifiScannerSolaris.cpp r=cjones NPOTB 2011-04-02 16:25:54 +08:00
Daniel Holbert
45c6a521fa Bug 623948 followup: Fix gcc 4.5 build error by explicitly extracting pointer from nsRefPtr in 2 LOG lines. r=ehsan 2011-04-01 14:38:46 -07:00
Julian Seward
0ac527c26e Bug 560579 - bitfield-induced race in class nsHttpTransaction; r=biesi 2011-03-24 15:51:00 -04:00
Ehsan Akhgari
73dd5db57d 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
326315dab1 Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Patrick McManus
6d7ea24a10 bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
49fceed112 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
db5f4dbf03 Bustage fix coming from the bad merge; a=I'm-fired 2011-04-01 11:54:44 -04:00
Ehsan Akhgari
f2b4323534 Merge cedar into mozilla-central 2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7 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
a75fb12531 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)
cc8b4c9c6c 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
41f6aee99f Merge cedar into mozilla-central 2011-03-31 14:11:37 -04:00
Shawn Wilsher
e0f2e33354 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
Shawn Wilsher
3da28b62b8 Bug 645094 - Stop using [deprecated] Storage methods in the disk cache
r=bz
2011-03-31 10:19:31 -07:00
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
chrisd.mang@gmail.com
10af14bcf0 Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
Christopher Davis
b92fde0d4e Bug 280661 - SOCKS proxy server connection timeout hard-coded; r=bzbarsky 2011-02-24 15:10:08 +02:00
Ehsan Akhgari
de907a39be Merge mozilla-central into cedar 2011-03-30 13:55:31 -04:00
Alon Zakai
fa24806ac8 Bug 645535 - Remove WARNING from nsFileStreams.cpp. r=bz 2011-03-30 13:40:47 -04:00
Ehsan Akhgari
c9eeb28036 Bug 643674 - firefox 4 crash [@ nsCookieService::HandleCorruptDB(DBState*) ] and t [@ nsCookieService::HandleCorruptDB ]; r=sdwilsh 2011-03-28 16:24:05 -04:00
Justin Lebar
7e2c5ae50d 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
Julian Seward
c3040d3e8c Bug 560579 - bitfield-induced race in class nsHttpTransaction; r=biesi 2011-03-24 15:51:00 -04:00
Ehsan Akhgari
f4575bfe5e 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
4e1b7d656b Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg 2011-03-31 20:15:04 -04:00
Patrick McManus
a26f726650 bug 623948 - Accelerate TCP connection retries in HTTP r=honzab 2011-03-31 15:38:30 -04:00
Dão Gottwald
a885be300e Bug 646428 - Remove nsIHttpProtocolHandler's language attribute. r=bz 2011-04-06 17:17:28 +02:00
Daniel Veditz
39f9956a9d bug 645565 don't stomp previous 200 response with an invalid one, r=biesi 2011-04-11 23:46:19 -07:00
L. David Baron
e8ae894594 Backout changeset e6d044d30abf (bug 607741) for not compiling. 2011-04-11 23:17:43 -07:00
Patrick McManus
4f4340e611 bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell 2011-04-11 22:37:59 -07:00
Christian Biesinger
040a8153c7 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-11 16:26:11 -07:00
Ehsan Akhgari
39d4c8a920 Backout changeset 649e429d342f (bug 607741) because of mobile tree oranges 2011-04-11 13:28:41 -04:00
Ehsan Akhgari
51c54bf6a6 Merge cedar into mozilla-central 2011-04-10 15:11:22 -04:00
Honza Bambas
149007d1bb Bug 526207: Make IP address and port information available to HTTP activity observers. r=biesi 2011-04-10 10:33:08 -07:00
Jason Duell
94cd641e0e Bug 561694: Optimize IPDL traffic for necko OnProgress/OnStatus. r=honzab 2011-04-09 20:42:05 -07:00
Ehsan Akhgari
a6cda7cb5c Merge cedar into mozilla-central 2011-04-08 22:28:05 -07:00
Jonathan Kew
15d6c5f538 Backed out changeset b980d0cf9847 (bug 643051) because of consistent mochitest-1 failure 2011-04-08 20:29:18 -07:00
Christian Biesinger
c33537ae62 bug 643051 - document.cookie should only allow setting one cookie at a time
r=bz
2011-04-08 14:21:20 -07:00
Boris Zbarsky
74d5f85647 Backed out changeset 4cadb299e5ef (bug 588389) to fix orange.
--HG--
extra : rebase_source : 02d07a9b1e784a3c8538ccae54c43e8eb17468d6
2011-04-08 14:07:07 -07:00
Jim Mathies
c5696bfd88 Bug 644431 - Adobe PDF Files Larger than 5 MB Won't Load in Browser. r=bz 2011-04-08 12:53:55 -07:00
Michal Novotny
e700949b8a Bug 617123 - Images are randomly corrupted with fallocate. r=jduell 2011-01-12 04:38:12 +02:00
Jeremias Bosch
8ec642a723 Bug 646396 - Update QtNetworkManager to new API useage; r=romaxa 2011-04-08 01:32:00 -07:00
Julian Reschke
42e4941e2d Bug 588389 - content-disposition: escaped characters in quoted-string give funny results; r=bzbarsky
--HG--
extra : rebase_source : fd30b81dc39dd0000270cc0dcce03302a8f7267e
2011-04-05 09:36:00 -07:00
Patrick McManus
f8e3139764 bugzilla 595316 remove static cast of nsAHttp* objs r=honzab
--HG--
extra : rebase_source : 1226b809dc071fa71340e461a6fde36c8da7d39b
2011-04-08 14:37:16 -04:00
Patrick McManus
f40d49ea9f bugzilla 643291 - chnage nshttpcompressconv NS_ERROR to NS_WARNING for data input error r=honzab
--HG--
extra : rebase_source : 5c464f0b34fd6855f741809a81a12f5eec8d1e44
2011-04-08 14:37:06 -04:00
Patrick McManus
7eadaedaca 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
a911c3a34d 624739 - sort idle persistent http connections by pereceived server cwnd
--HG--
extra : rebase_source : 29c50d0c0e99220bb87b5f584188fad49cc33439
2011-04-08 14:36:47 -04:00
Patrick McManus
d31bbb261d 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
Alon Zakai
44a2c9090a 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
b2e59587e8 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
395dbdf918 Merge cedar into mozilla-central 2011-03-25 14:21:07 -04:00
Neil Rashbrook
7b8d25a7b1 Bug 611503 Fix broken consumers of nsTDependentString on an nsTAString r=dwitte 2011-03-25 11:43:15 +00:00
bjarne@runitsoft,com
d902fada99 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
d78a10bc18 Backout changeset f406ffe65c08 (Bug 620931 part 1) for causing bug 644790. 2011-03-24 21:07:53 -07:00
L. David Baron
506701bba2 Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790. 2011-03-24 21:07:05 -07:00
L. David Baron
5445f4ab8c Backout changeset 9df6e8117fe0 (Bug 620931 part 4) for causing bug 644790. 2011-03-24 21:06:44 -07:00
Joe Drew
1ba8c47fbd Back out bug 628561 (d5fad1ab2f00) on suspicion of causing Tp regressions. 2011-03-24 20:30:59 -04:00
Joe Drew
0f83ac4e73 Back out bug 542401 (3fe7fcd60880) on suspicion of causing Tp regressions. 2011-03-24 20:30:06 -04:00
Joe Drew
c4b6e8f543 Back out bug 643352 (118451f8ec76) on suspicion of causing Tp regressions. 2011-03-24 20:29:08 -04:00
Joe Drew
58c6469af1 Back out bug 643291 (264508dc959b) on suspicion of causing Tp regressions. 2011-03-24 20:28:05 -04:00
Joe Drew
5f5b3c4c3b Back out bug 632419 (dbe8ef0649ac) on suspicion of causing Tp regressions. 2011-03-24 20:27:11 -04:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Patrick McManus
b13ecb026e 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
5553692d78 Merge mozilla-central into cedar 2011-03-24 10:54:50 -04:00
Mike Hommey
f25c0e8cc3 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
2cfeef8160 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
765d4f1b6c Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-03-24 15:27:37 +01:00
Karl Tomlinson
00b61b389c merge backout of bug 280661 2011-03-24 21:40:06 +13:00
Karl Tomlinson
ec5ed5c366 backout bug 280661 due to test_socks.js test failure 2011-03-24 21:37:53 +13:00
chrisd.mang@gmail.com
db01b291f7 Bug 280661 - Test case; r=ted 2011-03-23 23:42:04 -04:00
Ehsan Akhgari
35a76662aa Bug 616745 followup - fixed typo 2011-03-23 23:48:52 -04:00
Patrick McManus
231e2f39d1 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
61d74558d8 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
cfff86b2ac 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
91f82129c3 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
47cf269311 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
ee2b740dd2 Merge m-c to bs. 2011-03-04 23:54:03 -05:00
Alon Zakai
12fc79016e 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
99229eb36d Bug 637361: Backout bug 573043, a=blocker 2011-03-01 19:16:22 -08:00
Brian Smith
6e3249a44c Bug 637361: Backout bug 573043 2011-03-01 19:11:22 -08:00
Christopher Davis
9f892a74c3 Bug 280661 - SOCKS proxy server connection timeout hard-coded; r=bzbarsky 2011-02-24 15:10:08 +02:00
jhorak@redhat.com
1eed9ae919 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
3b3f5bf40a Bug 561276 - Cookie dependency on cache determination for image redirects r=bz 2011-03-23 23:36:53 -04:00
Gervase Markham
c5a7279931 Add gob.ec to PSL (public suffix list). (Bug 621707) a2.0=beltzner 2011-02-27 19:56:57 -08:00
Gervase Markham
45c3853777 Add bv.nl to PSL (public suffix list). (Bug 621707) a2.0=beltzner 2011-02-27 19:56:57 -08:00
Boris Zbarsky
908c57b9ab 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
16aeac69f7 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
eda599e429 bug 635705 - reorder code in GetParameterInternal. r+a=bzbarsky 2011-02-23 07:29:26 +00:00
Honza Bambas
4b801dad80 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
c1c1f7e184 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
6acd0a66d9 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
85046fcaa6 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
3a0f10932d Bug 616809 Remove CRs from netwerk r=biesi a=jst DONTBUILD 2011-02-06 00:04:14 +00:00
Bjarne
de005f5932 Bug 633146 - Remove unnecessary locking in nsCacheService::OpenCacheEntry; r=michal.novotny,bzbarsky 2011-03-22 15:17:13 -04:00
Ms2ger
384aab2569 Bug 637186 - Ignoring return value of SendDeleteSelf in HttpChannelParent::Delete; r=honzab.moz 2011-03-22 15:16:33 -04:00
Mitchell Field
b6976ca587 Merge mozilla-central to build-system. 2011-03-02 20:38:54 +11:00
Mitchell Field
dd61bc4257 Merge mozilla-central to build-system. 2011-02-28 18:28:40 +11:00
Kyle Huey
7d56189a13 Merge m-c to bs. 2011-02-25 15:23:05 -05:00
Mike Hommey
291fe1848f Bug 584474 part 6 - Remove duplicate libxpcomglue_s in link flags. r=ted 2011-02-25 15:02:04 +01:00
Mitchell Field
2e8a7d546f 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
971e36d6d8 Bug 584999 remove unused nsresult rv in nsHttpChannel::ContinueOnStartRequest2
r=biesi
2010-08-06 16:16:32 +03:00
Jason Duell
824a056239 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
19d6a64f6e 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
6e4946973b 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
036f6beffb 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
f763a2f442 Bug 620260 add fall through comment to nsHTTPCompressConv::OnDataAvailable
r=biesi
2011-03-23 23:30:04 -04:00
timeless@mozdev.org
64666d52c4 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
931d1ac2ff 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
c07c875d05 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
29d9225a9a 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
dfc5ea8e25 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
6270b2354a Fix bug 624764. r=bsmedberg, a=betaN+ 2011-02-02 14:57:48 -08:00
Patrick McManus
727c1bc347 624374 - remove unused nsHttpConnection::mLock. r=honzab.moz@firemni.cz, a=jst@mozilla.com 2011-02-02 10:53:06 -08:00
Ehsan Akhgari
1e3a9a31ab 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
0d5cfec907 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
0bbb185dcd 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
5b1008b96c 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
d0331cfa9d 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
c83afdd723 Bug 615530 - update .bt entry in PSL. a=jst. 2011-01-27 15:01:19 +00:00
Dave Townsend
e51597dabb Backout of changeset 9acd51502a65 from bug 579846. a=bustage 2011-01-24 14:59:51 -08:00
Dave Townsend
0adf94b662 Backout of changeset 38d1b321c98b from bug 579846. a=bustage 2011-01-24 14:58:20 -08:00
Sid Stamm
c9a91d7bb6 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
1cc1cc4167 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
63032f8fb3 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
295120a137 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
eb0c1dcaf4 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
a1913869ad 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
e30bc616e7 Bug 616075 - HTML5 offline event support for Android. r=mwu a=blocking-fennec 2011-01-20 20:06:13 +09:00
Michal Novotny
b43d447142 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
9f62941f24 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
b550e1a0a6 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