Commit Graph

948 Commits

Author SHA1 Message Date
Chris Jones
bc05dd163b Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Jason Duell
680f112978 Bug 541486: Prune unneeded interfaces from HttpChannelChild. author=jduell, r=bsmedberg
- We copied the full list of interfaces from nsHttpChannel, but biesi tells me
  the following will not be needed, so removing: nsIRequestObserver,
  nsIStreamListener, nsICacheListener, nsITransportEventSink,
  nsIProtocolProxyCallback, nsIAuthPromptCallback.
2010-01-22 13:01:44 -08:00
Frédéric Wang
e55eb6a822 Bug 124709. Treat application/mathml+xml as an XML type. r=bzbarsky 2009-11-29 23:18:53 +01:00
Frédéric Wang
8b46e8bd69 Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky 2009-11-21 00:12:42 +01:00
timeless@mozdev.org
e99a1058cb Bug 540566 nsCacheEntryDescriptor::GetDeviceID may crash in NS_strdup [@strlen | NS_strdup(char const*) ]
r=biesi
2010-02-21 15:53:13 +01:00
Christian Biesinger
f84c7344f6 Fix build bustage from bug 445168 / changeset 5a153fc2dc6f 2010-02-18 15:57:05 +01:00
Christian Biesinger
f297ee0fbb bug 445168 format IPv6 address literals correctly when using a proxy
r=bz
2010-02-18 15:42:32 +01:00
Jason Duell
5ffecf8e1f Bug 530952: Electrolysis HTTP Channel implementation. author=jduell, r=bsmedberg, sr=bz
- Supports only primitive xpcshell HTTP requests which don't set/get HTTP
  headers, don't do redirects, observers, load groups, or anything else other
  than basic things like looking at the reply body, Content-type, Content-length, etc.
- Tested with network/test/unit_ipc/test_simple_wrap.js (patch @ bug 521922)
- Only used if "NECKO_E10S_HTTP" set in environment.
- Force http.h to get #included before any IPDL files, to centralize #define
  handling of LOG and to make sure FORCE_PR_LOGGING is set if needed (bug
  545995)
2009-09-22 11:55:33 -07:00
Jason Duell
4f875a514b Add run_test_in_child() and do_load_child_test_harness() xpcshell functions (bug 521922). r=bent sr=ted
Add necko 'unit_ipc' test directory under e10s, plus simple HTTP test.
2009-10-17 00:05:27 -07:00
Benjamin Smedberg
3ad7eb7f3a Merge mozilla-central into electrolysis. 2010-02-09 21:22:09 -05:00
Dan Witte
cb4683a020 Fix failing test. 2010-02-09 15:42:44 -08:00
Zack Weinberg
5d31f02b7d Bug 540633: Label httpd.js debug logs, optionally timestamp them, and add support for enabling or disabling them in the middle of a run (currently only for mochitests). r=jwalden 2010-02-09 14:07:33 -08:00
Benjamin Smedberg
33745658c4 Merge mozilla-central into electrolysis 2010-02-09 11:39:28 -05:00
Adam Barth
2f2a7320df Bug 542974 - Make the cookie parser's handling of " characters more like IE. r=dwitte 2010-02-09 13:07:16 -08:00
Benjamin Smedberg
f64a66954c Merge mozilla-central into electrolysis. 2010-02-03 13:28:22 -05:00
Daniel Holbert
2c341fb9da Bug 543497, Patch A: Fix "warning: suggest parentheses around comparison in operand of &" in nsBinHexDecoder.cpp. r=jduell 2010-02-02 13:56:45 -08:00
Benjamin Smedberg
6e31be0f2d Merge mozilla-central into electrolysis. 2010-02-01 15:30:27 -05:00
Andrey Ivanov
88efb74b09 Bug 178506: Preserve original last-modified date on downloads r=sdwilsh 2010-01-30 12:58:01 -05:00
Zack Weinberg
d6677fdb08 Bug 536603 followup: Look up network.http.max-connections-per-server in httpd.js, rather than hardwiring a constant that needs to be bigger than that pref. r=jwalden 2010-01-29 18:17:33 -08:00
Benjamin Smedberg
1e0aa446aa Merge mozilla-central into electrolysis. 2010-01-27 09:56:07 -05:00
Benjamin Smedberg
0ba2d6e348 Merge mozilla-central with electrolysis. 2010-01-25 11:57:19 -05:00
Benjamin Smedberg
617c58608b Merge mozilla-central to electrolysis. 2010-01-19 14:51:19 -05:00
Benjamin Smedberg
89fff872c6 Merge mozilla-central into electrolysis 2010-01-13 10:51:41 -05:00
Dan Witte
a6881a59c8 Bug 536650 - Cookie values not saved for pages loaded from file://; part 2: deal with empty hosts in the
cookieservice . r=sdwilsh, sr=bz
2010-01-12 10:29:20 -08:00
Dan Witte
64bc002cbf Bug 536650 - Cookie values not saved for pages loaded from file://, part 1: tighten up the etld service.
r=sdwilsh, sr=bz
2010-01-12 10:29:20 -08:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Kai Engert
5e46a26c8d Bug 535649 - Implement UI around CVE-2009-3555 and draft-rescorla-tls-renegotiation, r=rrelyea
== NSS 3.12.6 will block some renegotiation attempts on SSL sockets by default
== This patch does not yet implement new UI by default, but adds 4 new prefs to get fine grained control (blocking/allowing, displaying broken state)
== One of the prefs is a temporary pref that is supposed to go away at some point in the future
2010-02-07 13:09:51 +01:00
Honza Bambas
d07221c060 Bug 542318 - Firefox 3.6 needs constant re-auths when connecting through NTLM proxy with credentials different from currently logged in Windows user, r=bz 2010-02-06 16:06:48 +01:00
timeless@mozdev.org
1fa2fbbe1a Bug 538930 - [@ @0x0 | nsNotifyAddrListener::Run] assumes InitIPHelperLibrary will never fail and that sNotifyAddrChange will be non null, r=biesi 2010-01-11 07:40:00 -08:00
Steffen Wilberg
d54888ab83 Bug 538421: Add a nsIAboutModule flag to hide 'about:' pages from about:about. r=mano, sr=bzbarsky 2010-01-23 11:07:48 +01:00
Phil Ringnalda
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Benjamin Smedberg
570f731f49 Merge mozilla-central to electrolysis. 2010-01-07 22:11:14 -05:00
Benjamin Smedberg
75601d4658 Merge mozilla-central to Electrolysis. 2010-01-05 13:18:08 -05:00
Benjamin Smedberg
e418880c95 Merge mozilla-central to electrolysis. 2009-12-22 14:18:51 -05:00
Metal Sonic
4c1b34d634 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
Benjamin Smedberg
c85b1e45a9 Merge mozilla-central to electrolysis 2009-12-21 10:22:07 -05:00
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Dietrich Ayala
ea1d1d7c7b Backout of bug 532147 and bug 532146 due to test failure. 2009-12-16 11:02:10 -08:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Shawn Wilsher
5cafb80613 Bug 532147 - NetUtil.asyncFetch should take an nsIURI, string, nsIFile, or nsIChannel
This lets consumers pass a string for a uri, an nsIURI, an nsIFile, or an
nsIChannel to NetUtil.asyncFetch.  It's now less code to get file contents
asynchronously that to do so synchronously in JavaScript.
r=bz
sr=vlad
2009-12-15 23:33:08 -08:00
Shawn Wilsher
2bcf4bf0cd Bug 532146 - NetUtil.jsm needs a helper for creating new channels
Adds a new method for creating an nsIChannel from a string spec, an nsIURI, or
an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:06 -08:00
Shawn Wilsher
da980cf6e1 Bug 532143 - NetUtil.newURI should take a string or nsIFile
You can now automagically get an nsIURI providing a string or an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:03 -08:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Dan Witte
2b2abe5315 Bug 444600 - (cookiemonster2) Cookies go missing after a few days. r=sdwilsh, sr=mconnor 2009-12-15 14:21:28 -08:00
Myk Melez
e56434ddcc update comments to clarify that (get|set)CookieString[FromHTTP] should be passed a channel so that cookies are correctly get/set when third-party cookies are disabled by the user; rs=bzbarsky
--HG--
extra : rebase_source : bba695d76a8bdef06a64772e67dc6c8feaf656f8
2009-12-14 16:24:44 -08:00
Robert O'Callahan
77f0bb0079 Bug 526323. httpd.js should send custom headers with 416 responses. r=jwalden 2009-12-16 09:08:58 +13:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00