Commit Graph

2128 Commits

Author SHA1 Message Date
Honza Bambas
fe0b6a7b95 Bug 673226 - Null timestamp usage in telemetry code; r=jduell.mcbugs 2011-08-21 09:27:29 +01:00
Honza Bambas
9725af820a Bug 662555 - Race condition when measuring responseEnd; r=jduell.mcbugs 2011-08-21 09:27:29 +01:00
timeless
c5bcf3a9b2 Bug 620306 - Crash [@ nsFtpState::Init] for oom from BeginWriting(); r=biesi 2011-08-21 09:27:29 +01:00
Han Chang
a5a3907048 Bug 673260. HttpChannelChild::RecvAssociateApplicationCache needs to be buffered. r=jduell 2011-08-22 14:17:14 -07:00
Julian Reschke
5165a2154a Bug 665706 - Remove historic special handling for semicolons in URIs. r=rjesup 2011-08-22 16:51:52 +02:00
Benjamin Smedberg
9260a95563 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
Matheus Kerschbaum
69fcec8956 Bug 678794 - Remove NECKO_OFFLINE_CACHE checks. r=jduell 2011-08-18 11:53:28 +02:00
Matheus Kerschbaum
ebb12b7023 Bug 678792 - Remove --disable-necko-disk-cache. r=khuey,jduell 2011-08-18 11:53:26 +02:00
Daniel Holbert
09b865ee51 Bug 678573: Remove unused variable |pollError| from nsSocketTransportService::DoPollIteration. r=jduell 2011-08-16 09:26:59 -07:00
Brian Smith
60e886946e Bug 593077: Remove SSL 2.0 Support and Fortezza Cipher Suites, r=kaie 2011-08-15 22:38:56 -07:00
Daniel Holbert
03ca49f291 merge m-c to m-i 2011-08-15 21:12:06 -07:00
Edgar Flores
f676a11de4 Bug 624743 - Resource protocol shouldn't use nsDependentCString. r=bsmedberg 2011-08-11 21:43:00 -04:00
Ed Morley
dc3c793de5 Bug 665532 - Fix unused variable warnings in nsWifiMonitor.cpp by removing now unneeded LOG()s; r=dougt 2011-08-14 10:39:20 -07:00
Patrick McManus
1f488d8684 Bug 675983 - Websockets - fail connection on 1st fragment with a continuation op code 2011-08-08 23:41:22 -07:00
Randell Jesup
c1d7fc5bac Bug 677260: Add specIgnoringRef and hasRef for URIs. r=bz, sr=biesi 2011-08-15 17:18:15 -04:00
Rafael Ávila de Espíndola
0c1ab4a0da 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
Geoff Brown
36e0e95bf0 Bug 661900 - LRU-SP not fully implemented in memory cache; r=michal 2011-09-08 14:00:24 +02:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Markus Stange
2306e46382 Bug 667533 - Display application/json data as text. r=bzbarsky 2011-08-08 20:32:07 +02:00
Honza Bambas
8f39c0e8fd Bug 675804, r=jduell 2011-08-08 14:20:02 +02:00
Jason Duell
ef3ae06a49 bug 675784 - websockets early cancel part 2/2 r=mcmanus. 2011-08-07 09:44:19 -04:00
Patrick McManus
7b31953ff1 bug 675784 - websockets early cancel part 1/2 r=jduell 2011-08-07 09:43:53 -04:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Matheus Kerschbaum
4b5262767d Bug 675500 - Remove --disable-storage. r=khuey 2011-08-06 19:05:49 +02:00
Patrick McManus
16f821f946 bug 675919 - websockets fail connection on unknown control code. r=jduell 2011-08-04 22:45:55 -07:00
Patrick McManus
04a4cafd79 Bug 675961 - Websockets: error in removing processed control frame from buffered fragment sequence. r=jduell 2011-08-04 22:43:52 -07:00
Patrick McManus
8cb5471157 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Michael Wu
48f2ffa17a Bug 675873 - Switch nsHttpConnectionMgr from nsHashtable to nsClassHashtable, r=bz 2011-08-03 18:59:10 -07:00
Patrick McManus
c9a6067c84 bug 674716 - websockets API close reason codes and messages r=sicking r=biesi sr=bz
--HG--
extra : rebase_source : f7a0eb6b310f29f8e697c26ff5e0ef9d2fde559a
2011-08-03 15:15:25 -04:00
Marco Bonardo
b92ca56a08 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Matt Brubeck
b4edd24765 Back out 52702d275995 (bug 647391) because of xpcshell test failures 2011-08-02 19:59:22 -07:00
Jason Duell
120257bba4 Bug 647391 - Increase maximum size for objects stored in disk cache. r=michal 2011-08-02 17:12:25 -07:00
Patrick McManus
c0f9203b99 bug 667853: Missing close() event if websocket::init fails. r=mcmanus, jdm 2011-08-02 16:55:17 -07:00
Jason Duell
36eefd61dd bug 674689: Delay Cache.trash delete to avoid startup I/O contention. r=michal 2011-08-02 16:54:55 -07:00
Michal Novotny
f0dc83dd33 Bug 675420 - cache is now cleared on every startup 2011-08-03 00:23:54 +02:00
Randell Jesup
4b9170d19a Bug 675710: Add tests for protocol-relative URIs (href=//site/foo) r=bz 2011-08-02 09:40:58 -04:00
Jeff Walden
29112e0704 Bug 568663 - Always append bytes to arrays using increments guaranteed to be substantially below the maximum function argument count. r=honzab
--HG--
extra : rebase_source : 7e47afc5e98219089029d771eaaec9514abcef3d
2011-07-25 15:25:38 -07:00
Michal Novotny
a16b9682fa Bug 673808 - _CACHE_MAP_ is storing nsDiskCacheRecord structs with uninitialized data containing bits of Fx memory 2011-07-26 13:09:42 +02:00
Jason Duell
1588ac238a Bug 670911 Cache slow to clear after crash: rename to *.Trash in same directory to avoid NTFS ACL reset. r=michal 2011-07-28 04:12:38 -07:00
Ginn Chen
8c45d9037a Bug 673862 - Fix compile of nsWifiScannerSolaris.cpp. r=jones.chris.g. 2011-07-28 11:48:43 +08:00
Luke Wagner
a2eef165e0 Bug 667535 - Remove xpcom/proxy use in netwerk/wifi (since this can lead to off-thread scripted QI) (r=dougt) 2011-07-27 09:26:20 -07:00
Marco Bonardo
db0c96093a Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-27 12:12:25 +02:00
Daniel Holbert
5798400e19 Bug 670542 patch 2: Rev iids of nsIURI & descendants. r=jst 2011-07-26 22:11:40 -07:00
Daniel Holbert
9b63b2d67b Bug 670542 patch 1: Shift .ref-related additions to end of nsIURI.idl. r=jst 2011-07-26 22:11:08 -07:00
Michael Wu
706be3a5e8 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Patrick McManus
7c416b35ae bug 648941 - close persistent connections when transitioning in/out of private browsing r=bz 2011-07-25 16:25:01 -04:00
Evan Shaw
c85bcd065c Bug 631967 - Fix unsafe pointer dereference. r=mayhemer 2011-07-21 22:29:00 -04:00
Boris Zbarsky
0253585378 Bug 667818. When computing cookie expiration times, watch out for division by unsigned PR_USEC_PER_SEC screwing things up. r=dwitte 2011-07-26 16:34:11 -04:00
arno renevier
6b41f8ec70 Bug 561042 - remove http headers size limit. r=bz 2011-07-24 13:46:33 +02:00
Jeff Walden
fe8cdbd90b Diagnostic additions for debugging bug 568663. r=itsatest
--HG--
extra : rebase_source : f1706458ff0a32253e5592d48a34364592083a8b
2011-07-23 00:14:14 -07:00
Patrick McManus
dbedaea7fc bug 672384 - WebSocket connection drops on moderately-large fragmented messages r=biesi 2011-07-22 16:06:57 -04:00
Patrick McManus
2b8561c7ca 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
Marco Bonardo
3daa3b7be0 Backout changesets 79a36ed03e14, d17ac9b0254e due to suspect xpcshell permaorange on OSX opt 2011-07-22 14:35:41 +02:00
Boris Zbarsky
1c71a78f9f Bug 670553. Don't try to read more than aCount bytes in nsUnicharStreamLoader::OnDataAvailable. r=zwol 2011-07-21 17:31:36 -04:00
Brad Lassey
3df774710d bug 661282 - make xpcshell run on android r=bsmedberg 2011-06-26 22:05:51 -04:00
Geoff Brown
7eb96a8a79 Bug 648429: HTTP cache: compress all compressible files - new test for appending to compressed stream; r=michal.novotny 2011-07-21 14:10:48 -04:00
Geoff Brown
023a2dc3ae Bug 648429 - HTTP cache: compress compressible files; r=michal.novotny 2011-07-21 14:04:57 -04:00
Patrick McManus
2b45f66a5b 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
Marco Bonardo
225034df61 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
arno renevier
5388ac92cf Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Taras Glek
403f552f24 Bug 672651 - Track cache init times via telemetry r=jduell 2011-07-20 17:02:58 -07:00
Nicholas Nethercote
44f3c270fd Bug 669117 - Add a memory reporter for the Necko memory cache. r=khuey,jduell. 2011-07-18 18:22:36 -07:00
Gervase Markham
3f0584db78 Bug 531758 - add DynDNS domains to the PSL, as requested by Jeremy Hitchcock of DynDNS. Patch by him; r=gerv. 2011-07-18 15:09:55 -04:00
Paul A. Adeyenuwo
b1fc7c688c Bug 660158 - Remove all references to head_ipc.js; r=jduell 2011-07-17 12:07:42 +02:00
Matheus Kerschbaum
55aebc79d4 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Ms2ger
36c532ffa2 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Kyle Huey
34ff9786ed Bug 671053: Explicitly drop nsHttpConnection's ref to the callbacks at transaction close rather than waiting for connection reuse/expiration. r=mcmanus 2011-07-14 11:09:48 -07:00
Randell Jesup
15fa7595a6 Bug 656853: Fix file://#foo to not lose the #foo. r=bz 2011-07-12 14:07:28 -04:00
Randell Jesup
11ddf50250 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
Julian Reschke
961da6fd61 Bug 670333. Make sure that when parsing MIME header params we check for the actual presence of a '=' between the name and the value. r=bzbarsky 2011-07-11 15:27:26 -04:00
Doug Turner
0efa167f2b 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
Patrick McManus
d294fd5e2d bug 669936 emacs mode lines for websockets 2 space indents r=jduell 2011-07-07 15:39:24 -04:00
Patrick McManus
5347af7a72 bug 669975 - websockets e10s mLoadGroup member duplicated r=jdm 2011-07-07 15:36:37 -04:00
Boris Zbarsky
bd8923f8be Bug 667907. For HTTP 0.9 on non-default ports, be more conservative. r=jduell 2011-07-07 14:17:13 -04:00
Julian Reschke
f8047a1b9d Bug 651185. Only process RFC 2231 and RFC 5987 syntax when the value comes from a token (as opposed to a quoted-string). r=bzbarsky 2011-07-05 17:33:04 -04:00
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