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

7841 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup 398a65820c 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 b1a1f7d2ac 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 837ed0a549 Bug 661900 - LRU-SP not fully implemented in memory cache; r=michal 2011-09-08 14:00:24 +02:00
Felix Fung 15053fd69e Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Markus Stange 6e87a7da96 Bug 667533 - Display application/json data as text. r=bzbarsky 2011-08-08 20:32:07 +02:00
Honza Bambas 90c4f48529 Bug 675804, r=jduell 2011-08-08 14:20:02 +02:00
Jason Duell 1403f10db6 bug 675784 - websockets early cancel part 2/2 r=mcmanus. 2011-08-07 09:44:19 -04:00
Patrick McManus 9069f0c1fb bug 675784 - websockets early cancel part 1/2 r=jduell 2011-08-07 09:43:53 -04:00
Michael Wu c0f3877f71 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Matheus Kerschbaum aab786a0d3 Bug 675500 - Remove --disable-storage. r=khuey 2011-08-06 19:05:49 +02:00
Patrick McManus f095f205c0 bug 675919 - websockets fail connection on unknown control code. r=jduell 2011-08-04 22:45:55 -07:00
Patrick McManus 22a4205ec3 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 b7ecf99eb5 bug 674905 - implement ws extensions attribute r=biesi r=sicking sr=bz 2011-08-03 23:46:13 -04:00
Michael Wu 458349cb71 Bug 675873 - Switch nsHttpConnectionMgr from nsHashtable to nsClassHashtable, r=bz 2011-08-03 18:59:10 -07:00
Patrick McManus e032c4c7e6 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 498fcdf6b0 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Matt Brubeck 282c1b03ab Back out 52702d275995 (bug 647391) because of xpcshell test failures 2011-08-02 19:59:22 -07:00
Jason Duell 9188ce4753 Bug 647391 - Increase maximum size for objects stored in disk cache. r=michal 2011-08-02 17:12:25 -07:00
Patrick McManus ab94f21f66 bug 667853: Missing close() event if websocket::init fails. r=mcmanus, jdm 2011-08-02 16:55:17 -07:00
Jason Duell 3ead74b03f bug 674689: Delay Cache.trash delete to avoid startup I/O contention. r=michal 2011-08-02 16:54:55 -07:00
Michal Novotny e9a927069b Bug 675420 - cache is now cleared on every startup 2011-08-03 00:23:54 +02:00
Randell Jesup 232783f542 Bug 675710: Add tests for protocol-relative URIs (href=//site/foo) r=bz 2011-08-02 09:40:58 -04:00
Jeff Walden 0d7714df4b 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 114b9df996 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 6869877585 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 18436b4bc6 Bug 673862 - Fix compile of nsWifiScannerSolaris.cpp. r=jones.chris.g. 2011-07-28 11:48:43 +08:00
Luke Wagner 919b29c9d6 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 3430d79c86 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-27 12:12:25 +02:00
Daniel Holbert 180d39a711 Bug 670542 patch 2: Rev iids of nsIURI & descendants. r=jst 2011-07-26 22:11:40 -07:00
Daniel Holbert 0d53d5d6f0 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 a09b1922d3 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 92cd97ecb5 bug 648941 - close persistent connections when transitioning in/out of private browsing r=bz 2011-07-25 16:25:01 -04:00
Evan Shaw 8d35bc5104 Bug 631967 - Fix unsafe pointer dereference. r=mayhemer 2011-07-21 22:29:00 -04:00
Boris Zbarsky 88a2fb9dd1 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 5da45080b6 Bug 561042 - remove http headers size limit. r=bz 2011-07-24 13:46:33 +02:00
Jeff Walden 1ad11994eb Diagnostic additions for debugging bug 568663. r=itsatest
--HG--
extra : rebase_source : f1706458ff0a32253e5592d48a34364592083a8b
2011-07-23 00:14:14 -07:00
Patrick McManus 5de8578260 bug 672384 - WebSocket connection drops on moderately-large fragmented messages r=biesi 2011-07-22 16:06:57 -04:00
Patrick McManus 59c37016dc 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 9fb9c81afb Backout changesets 79a36ed03e14, d17ac9b0254e due to suspect xpcshell permaorange on OSX opt 2011-07-22 14:35:41 +02:00
Boris Zbarsky 0278f9a18f 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 14d1a8f829 bug 661282 - make xpcshell run on android r=bsmedberg 2011-06-26 22:05:51 -04:00
Geoff Brown 15be39acd6 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 55808cd47c Bug 648429 - HTTP cache: compress compressible files; r=michal.novotny 2011-07-21 14:04:57 -04:00
Patrick McManus e6aa5daac5 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 e74e9917ee Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
arno renevier b0190c2f49 Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Taras Glek 43c42e818e Bug 672651 - Track cache init times via telemetry r=jduell 2011-07-20 17:02:58 -07:00
Nicholas Nethercote 148dca410d Bug 669117 - Add a memory reporter for the Necko memory cache. r=khuey,jduell. 2011-07-18 18:22:36 -07:00
Gervase Markham 85a01a643a 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 2678bfc916 Bug 660158 - Remove all references to head_ipc.js; r=jduell 2011-07-17 12:07:42 +02:00
Matheus Kerschbaum 7b050d7473 Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
Ms2ger ddde247e90 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Kyle Huey a37b8cd8c8 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 48168b1aa3 Bug 656853: Fix file://#foo to not lose the #foo. r=bz 2011-07-12 14:07:28 -04:00
Randell Jesup 41a17381c7 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 320990bdd6 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 c5eb2140dc 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 caedf960eb bug 669936 emacs mode lines for websockets 2 space indents r=jduell 2011-07-07 15:39:24 -04:00
Patrick McManus 39a46c95ac bug 669975 - websockets e10s mLoadGroup member duplicated r=jdm 2011-07-07 15:36:37 -04:00
Boris Zbarsky b7d97ecd27 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 ce3ff4b8ec 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 6bc568437c Bug 662215 r=bz 2011-07-05 09:09:09 -04:00
Jason Duell 0e9fc4201f bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:32 -07:00
Patrick McManus 3f59b5f449 bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz 2011-07-04 23:12:30 -07:00
Jason Duell 92f1091a7f bug 664860. Convert WebSocketChannel to 2 space indents. r=biesi. 2011-07-04 21:18:34 -07:00
Jason Duell f34795ad90 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 4eeaf1fe60 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 9272e62880 Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-04 12:46:07 +02:00
Christian Biesinger 7d377842cc 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 1033f8f05b bug 658894 - Collect basic telemetry for HTTP requests and page load. r=jduell 2011-07-01 22:22:18 +02:00
Philipp von Weitershausen b6b612f8d8 Bug 668642 - Make nsIHttpHeaderVisitor a [function] interface. r=bz 2011-06-30 23:55:56 +02:00
Josh Matthews e82af43465 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Nick Hurley 2fff201c59 bug 687085 - telemetry for hit/reval/miss by device type. r=mcmanus 2011-10-06 12:02:23 +02:00
Joe Drew 14ee2a2b80 Back out fcf08eff68eb (Bug 658894) for causing Reftest assertions. 2011-06-28 14:42:06 -04:00
Joe Drew 5b61b4c309 Back out fcf08eff68eb (Bug 662555) for causing reftest assertions. 2011-06-28 14:41:14 -04:00
Honza Bambas c0ed6876f7 Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell+tglek 2011-06-28 16:49:45 +02:00
Honza Bambas 6fe9624e22 Bug 662555 - Race condition when measuring requestEnd, r=jduell 2011-06-28 16:49:45 +02:00
bjarne@runitsoft.com 8c6f04a873 Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Han Chang acf382026f 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 a451a3a928 Merge mozilla-central to mozilla-inbound 2011-06-25 19:43:57 -07:00
Patrick McManus d0d29d7b5e bug 664305 - websocket max connection limitation r=biesi
--HG--
extra : rebase_source : 7229d30f28b529c0fe7f22277a21c9a0f007d14d
2011-06-25 14:28:27 -04:00
Patrick McManus 106d00338b Bug 666997 - Firefox Crash @ mozilla::net::nsPreloadedStream::AsyncWait() r=biesi 2011-06-25 10:49:42 -04:00
Kyle Huey f25a93c505 Fix websockets-disabled build with an ifdef. rs=mcmanus (No bug) 2011-06-24 11:00:46 -07:00
Marco Bonardo 37e29c9063 Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Jason Duell b176a06a9f 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 947c828de5 Bug 665521 - Update Ruben Arakelyan's email address *correctly* in the PSL. r=biesi 2011-06-23 14:11:18 -07:00
Ruben Arakelyan dda1ab9cc7 Bug 665521 - Update Ruben Arakelyan's email address in the PSL. r=biesi 2011-06-23 14:04:45 -07:00
Michal Novotny 4a36c53e91 Bug 504014 - Enforce RFC 3986 syntax for IPv6 literals 2011-06-23 17:04:23 +02:00
bjarne@runitsoft.com e62f2bb247 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 af47d4231d 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 f07a0cfd60 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 d873032edb 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 bd52f0a141 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 22b0a93620 Bug 665518 - Websocket enforce high bit of 64 bit length r=biesi 2011-06-21 10:49:04 -04:00
Patrick McManus 5b02e427a2 backout 15c3543f4647 so it can be re-merged with valid description 2011-06-21 10:45:24 -04:00
Patrick McManus ce224ccb4c backout 627d6b32976b so it can be re-merged with valid description 2011-06-21 10:45:03 -04:00
Patrick McManus c973256a9b backout b22f0cccfa7f so it can be re-merged with bug number in description 2011-06-21 10:44:07 -04:00
Patrick McManus 20fd46de06 backout cf7152d215b2 so it can be re-merged with bug number in description 2011-06-21 10:43:32 -04:00
Patrick McManus 906e5d5ee5 backout 923beecc0fe5 so it can be re-merged with bug number in description 2011-06-21 10:42:54 -04:00
Patrick McManus d9e6b1c387 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 1af9ad819b 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 99a088299d websockets -08 sec 7.4.1 defines two new close codes r=biesi 2011-06-21 09:47:34 -04:00
Patrick McManus 2eb9973d45 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 585c62f36d 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 18798d24df Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Mounir Lamouri 56691c9a92 Merging mozilla-central with mozilla-inbound. 2011-06-17 15:26:17 +02:00
Neil Rashbrook 4673071850 Bug 660527 Remove useless uses of PromiseFlatCString r=biesi 2011-06-16 21:25:20 +01:00
Mike Hommey feaaf33b38 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Patrick McManus 6d751f33db bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus 816f913204 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Matt Brubeck d135b72521 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 05ba6d9949 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 b83f7b8f33 Merge backout of bug 632404, bug 552864, bug 658995 2011-06-15 09:01:28 -07:00
Matt Brubeck 215411d603 Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression. 2011-06-15 09:00:28 -07:00
Patrick McManus f040687145 bug 658580 move nsSocketTransportService dopolliteration logic into run method r=honzab 2011-06-15 10:24:56 -04:00
Patrick McManus 6475d4cba1 bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab 2011-06-15 10:24:09 -04:00
Philipp von Weitershausen dde049e1a4 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 f5896c1801 Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg 2011-06-15 07:32:03 +02:00
Jason Duell 5adc75dcca 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 da5c2d70a4 Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Josh Matthews 432e3242d7 Bug 663893 - Avoid null dereferences in websocket handler. r=mcmanus 2011-06-13 14:30:07 -04:00
Ehsan Akhgari 05f536f090 Back out Dao's push because of build bustage 2011-06-14 00:17:10 -04:00
Josh Matthews 1177c3a091 Bug 663893 - Avoid null dereferences in websocket handler. r=mcmanus 2011-06-13 14:30:07 -04:00
Ted Mielczarek 0e96cd6602 merge m-c and b-s 2011-06-13 09:09:43 -04:00
Ed Morley 13cfc322c6 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 b4c69a2641 Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm 2011-06-11 18:37:09 -07:00
Nick Hurley 1ad89c8107 Bug 637339 - Improve error handling in HttpChannelChild. r=honzab 2011-06-11 18:37:03 -07:00
bjarne@runitsoft.com a56b28739e 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 fbda4a0016 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 9e7756cdd8 Bug 659944 - Remove leftover MOZ_IPC ifdef in nsHttpChannel.cpp; r=cbiesinger 2011-06-11 09:12:34 +02:00
Ehsan Akhgari 14c1f30f0d Merge mozilla-inbound into mozilla-central 2011-06-09 18:30:11 -04:00
Jason Duell c3dc5dfee5 Bug 663229 - e10s HTTP: initialize prnetaddrs correctly in child. r=jdm 2011-06-09 14:02:09 -07:00
Daniel Holbert e3bd104a60 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 3cd96440a2 Bug 173561: move magic mask constant for nsIRequest into IDL file. r=biesi 2011-06-09 15:03:41 -04:00
Honza Bambas ac3360c1b6 Backout of changeset 701b76c4e716 2011-06-09 16:07:07 +02:00
Honza Bambas 63d20aafd1 Bug 658894 - Collect basic telemetry for HTTP requests and page load, r=jduell 2011-06-09 14:04:16 +02:00
Kyle Huey 1374989221 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 ccb147cf58 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 c84a869d82 Bug 661998 - Fix risky use of nsITimer in xpcshell test. r=gavin 2011-06-07 04:45:36 -04:00
Kyle Huey 57525def50 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 5ba1a90b24 Bug 662122: Add leak logging annotations to some WebSockets classes. r=mcmanus 2011-06-07 13:12:19 -07:00
Jonathan Protzenko 471035dfb8 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 72c776323d Bug 125608: Reduce size of nsStandardURLs by average of 27+ bytes. r=bz 2011-06-07 12:17:40 -04:00
Jeff Walden 5598ab3d7b 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 2cd47e831c Bug 661967: Remove never-read local variable from nsIOService::GetProtocolHandler. r=bz 2011-06-07 10:50:14 -07:00
Jacek Caban a7729206bb Bug 661517 - nsWebSocketHandler.cpp fails to compile on mingw-w64 r=mcmanus DONTBUILD 2011-06-06 13:16:22 +02:00
Patrick McManus a3bd95ba49 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 a3ce4a43ba 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 132c1e6a7e 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 5c71575e07 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Patrick McManus 2b8f454193 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 755df8b9a0 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 c6f3fc5f92 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 846b33e42e Merging cedar with mozilla-central. 2011-05-30 12:50:04 +02:00
Henri Sivonen dd578abbd8 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 cd579c6095 Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, comment correction 2011-05-29 16:14:21 +02:00
Honza Bambas 4814010508 Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, r=bz 2011-05-29 15:55:38 +02:00
Daniel Holbert b0b473b6ab Bug 660066 patch 2: Prevent nsFileDataURI from QI'ing to nsSimpleURI. r=bz 2011-05-27 21:55:20 -07:00
Daniel Holbert e046225a54 Bug 660066 patch 1: Null-check mPrincipal in nsFileDataURI::EqualsInternal. r=bz 2011-05-27 16:53:06 -07:00
Daniel Holbert 662baf6e1c 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 caced7129f Merging cedar with mozilla-central. 2011-05-27 09:57:51 +02:00
Mounir Lamouri 043535bcf0 Backed out bug 125608 because of orange. 2011-05-27 09:53:26 +02:00
Mounir Lamouri a34b61f505 Backed out bug 659871, changeset 0cf4fa02c0f2, because of orange. 2011-05-27 09:52:42 +02:00
Randell Jesup 1d9c855e63 Bug 659871: Don't allow nsStandardURL::SetPort to set an invalid port. r=bz 2011-05-27 02:46:41 -04:00
Randell Jesup 972f8ffd29 Bug 125608: NewURI was allocating more memory than needed. r=bz 2011-05-27 02:46:33 -04:00
Randell Jesup f5c8a166cc Bug 507569: Fix possible crash in nsStandardURL::SegmentIs() (Coverity) r=bz 2011-05-27 01:44:15 -04:00
Daniel Holbert fd1ecc59e0 Bug 659698: Fix nsJSURL to handle the recent .ref additions to nsSimpleURI. r=bz 2011-05-26 01:20:06 -07:00
Mounir Lamouri 24d3a56f7a Merging cedar with mozilla-central. 2011-05-26 08:34:54 +02:00
Randell Jesup 56a47b35c7 Backed out changeset 369680a6f40b - apparent blown merge 2011-05-26 00:26:31 -04:00
Randell Jesup b274c245ea Bug 125608: NewURI did larger allocations than needed - r=bz 2011-05-25 23:39:31 -04:00
Bjarne cf152b759d 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 7f7caccf36 Make nsJSURI inherit from nsSimpleURI. Bug 647570, r=bzbarsky 2011-05-25 16:23:07 -04:00
Matt Brubeck 6f2d4e2fe9 Merge cedar to mozilla-central 2011-05-24 14:55:37 -07:00
Patrick McManus cd167935e5 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 7c848ad558 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 fd02d2b259 Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz 2011-05-24 17:40:35 +02:00
Daniel Holbert 004a216009 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 b1ac5604f9 Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert fa5d75d69f 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 1d8fa11196 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 5dc21abb4e 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 903619ebec 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 4d8b4b568c Remove broken GetLocal calls in test_traceable_channel.js, r=jduell, a=queue 2011-05-24 02:29:02 -07:00
Jason Duell c9ef346449 Add missing OnExamineResponse() call to e10s HTTP. r=biesi 2011-05-23 22:14:16 -07:00
Michal Novotny 2441f5a29a Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff 2011-05-20 19:27:11 +02:00
Gervase Markham 4c83d816ad Bug 658977 - Add co.nl and co.no to PSL. 2011-05-23 21:24:27 +01:00
Jothan Frakes 2e4e23364b Bug 654953 - Remove !tsk.tr rule from PSL. 2011-05-23 21:21:58 +01:00
Gervase Markham 99c4e80d94 Bug 658965 - Update PSL for .uk. 2011-05-23 21:09:31 +01:00
Christian Biesinger 59a9ad1c36 Bug 658822 - Fix implementation of DNS timing in nsITimedChannel; r=jduell 2011-05-22 21:29:42 -07:00
Matheus Kerschbaum 679e31e4ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Honza Bambas c886c4fac5 Bug 658876 - nsHttpChannel.mAsyncOpenTime should be set after mLoadGroup->AddRequest, r=cbiesinger 2011-05-23 16:38:24 +02:00
bjarne@runitsoft.com 2f13a0eeef 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 d440790495 bug 617115 - support building with andorid NDKr5 r=ted 2011-04-01 16:47:37 -07:00
wfernandom2004@gmail.com 4ea488087e Bug 338583, implement EventSource, r=smaug,Ms2ger
--HG--
extra : rebase_source : 9dd6bbbc0d714fbafb2ed115c40cf7210b663b6a
2011-05-22 22:30:07 +01:00
Patrick McManus 03f215ff80 bugzilla 640003 websockets ietf-07 r=smaug r=biesi sr=bz 2011-05-21 21:27:52 -04:00
Daniel Holbert 3a67517f4e 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 cc8996c23f 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 f643420f62 Bug 308590 patch 4: Add impl for .ref on nsSimpleURI. r=bz 2011-05-21 18:12:45 -07:00
Daniel Holbert 81efdd3feb Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert ecfe364613 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert 6ea25fada6 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 05357aa9ac 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 b761ddef0c 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 a6e0fccb1f Bug 576006 - Implement timing interface for channels
r=jduell sr=bz
2011-05-21 03:03:36 -07:00
Gervase Markham b10734268c Remove broken .pk IDN items in PSL. a=orange. 2011-05-20 18:27:05 +01:00
Gervase Markham eed0f61b93 Bug 632595 - update PSL for .eg and .uk. r=pkasting. 2011-05-20 17:09:26 +01:00
Gervase Markham aa2077bba3 Bug 638195 - update PSL for .br. r=pkasting. 2011-05-20 17:08:56 +01:00
Gervase Markham 6a8241c82c Bug 638749 - update PSL for .do. r=pkasting. 2011-05-20 17:08:17 +01:00
Gervase Markham 3686d5e3bc 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 7aa6e96e23 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Mounir Lamouri 72aeeb9ec2 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 e8904cdcb4 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 98ed18993f Bug 638749 - update PSL for .do. r=pkasting. 2011-05-20 14:11:16 +01:00
Gervase Markham 402a28587f Bug 638195 - update PSL for .br. r=pkasting. 2011-05-20 14:10:39 +01:00
Gervase Markham e428b12553 Bug 632595 - update public suffix list for changes in .eg and .uk. r=pkasting. 2011-05-20 14:09:29 +01:00
Patrick McManus 4311ce2b88 bugzilla 640213 Implement RFC 2616 "Upgrade" (Section 14.42) r=biesi sr=bz 2011-05-19 19:43:37 -04:00
Patrick McManus 74007035a2 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 c0c76adffc Backout bug 654926 because of perma orange on Win Opt xpcshell. 2011-05-19 18:54:26 +02:00
Bjarne 84dda8e04c Tests for bug 654926. r=michal 2011-05-19 12:54:02 +02:00
Bjarne a1d726e5a5 Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube. r=michal 2011-05-19 12:45:51 +02:00
Zack Weinberg 3581e56fd0 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 f638f0e2ab Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley a618c989ae Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Mike Hommey 8624af9ef4 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 253eef0254 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 0127df0806 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 dc8c9f3c30 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 3d31df4853 Bug 640213 - Implement HTTP 2616 Upgrade. r=biesi, sr=bz. 2011-05-14 18:55:54 +01:00
Phil Ringnalda fded848650 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 b00f80a1a1 Bug 637339 - Improve error handling in HttpChannelChild. r=jduell 2011-05-13 18:02:07 -07:00
Daniel Holbert 526a8ff9fb Merging cedar with mozilla-central. 2011-05-13 17:17:56 -07:00
Patrick McManus cf1c733b57 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 111d1d4712 bug 640003 - websockets, nsIIOService2::NewChannelFromURIWithProxyFlags() r=biesi sr=bz 2011-05-13 13:53:27 -04:00
Daniel Holbert a29ca068f3 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 3411213570 Bug 655628 - Remove unused Accept_Charset atom. r=biesi
--HG--
extra : rebase_source : 27f4ded368d8ed2519eb40bdb96bbfa6ff06111d
2011-05-10 09:46:14 +02:00
Steven Michaud b3100f8670 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 0326e57b8f Merge backout (to fix bug 656172) 2011-05-10 19:10:01 -07:00
Michael Wu ede6efdcce Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer 2011-05-10 18:27:51 -07:00
Siddharth Agarwal 9c3e9cf8bd 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 fe224b26a2 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 6d14b87d8e Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Mike Hommey 8153d88de1 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 f3a79067ff 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 c3297a15ef Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-02-25 12:48:02 +01:00
Mounir Lamouri a417e05ec5 Merging cedar with mozilla-central. 2011-05-08 18:23:36 +02:00
Ed Morley 3315fddcb4 Bug 654552 - Remove WinCE code from netwerk/* ; r=cbiesinger 2011-05-07 10:03:16 +02:00
Zack Weinberg df2af730aa Bug 541496 prelim 1: remove nsIUnicharStreamListener (no in-tree implementations). r=hsivonen 2011-05-06 08:45:33 -07:00
Nick Hurley a34b50aedd bug 648878 - move get(local|remote)(address|port) to httpchannelchild r=jduell 2011-05-05 11:45:59 -04:00
Boris Zbarsky 7a3521f93f Backed out changeset 998b91ea0ffa (bug 648878) because it doesn't build on Windows. 2011-05-03 19:34:58 -04:00
Nick Hurley f5560a24a4 bug 648878 - move get(local|remote)(address|port) to httpchannelchild, r=jduell 2011-05-03 17:47:05 -04:00