Commit Graph

226 Commits

Author SHA1 Message Date
Karl Tomlinson
e9730ee124 b=559492 only dump leaked URLs on successful shutdown r=dbaron 2010-05-13 14:34:38 +12:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Marco Bonardo
72b6a79779 backout Bug 559927 since suspect of causing a Windows necko test failure 2010-04-29 13:27:10 +02:00
Julian Seward
d2d4feddf7 Bug 559927 - nsAsyncStreamCopier::mCopierCtx not consistently protected by ::mLock. r=cbiesi 2010-04-29 10:39:46 +02:00
Karl Tomlinson
bd6b4f7e1c backout 32502a2c5671 b=559492 due to seg fault in storage/test/test_transaction_helper.cpp possibly in DumpLeakedURLs 2010-04-29 10:40:11 +12:00
Karl Tomlinson
e41101f443 b=559492 only dump leaked URLs on successful shutdown r=dbaron
--HG--
extra : rebase_source : 5472d43f56d11e6090503777853b62a2fcf1a21c
2010-04-29 09:09:59 +12:00
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Doug Turner
e35d8e72d5 Bug 545869 - Remove small buffer #defines and use preferences. r=honza 2010-04-20 09:32:28 -07:00
Brandon Sterne
674aa49910 Bug 515797: Allow necko to create channels that are aware of Content Security Policy. r=jduell, sr=biesi 2010-04-10 16:08:21 -04:00
Blake Kaplan
63886e99f2 Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Justin Lebar
ecbe0b409d Bug 554120: Fix out-of-bounds read in nsStandardURL.cpp. r=biesi 2010-03-22 00:36:38 -07:00
bjarne@runitsoft.com
505a28d5cc Bug 513074 - remove sync writes from current cache, r=biesi,michal.novotny sr=bzbarsky 2010-02-23 10:13:18 -08:00
Phil Ringnalda
b612d41a2e Bug 542962 - Remove some zero byte files, r=dbaron 2009-12-18 21:26:13 -08:00
Shawn Wilsher
d2d7f4df99 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
f06ffc75df 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
Dietrich Ayala
ea1d1d7c7b Backout of bug 532147 and bug 532146 due to test failure. 2009-12-16 11:02:10 -08: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
Jonathan Kew
830542e84e Bug 533079 Actually land patch addressing review comments from bug 507970 a=shaver r=biesi 2009-12-07 10:49:46 +00:00
timeless
83956299ff Bug 529773 - "nsProtocolProxyService::PrefsChanged / nsProtocolProxyService::Resolve_Internal don't behave cleanly when do_GetService(NS_SYSTEMPROXYSETTINGS_CONTRACTID) fails" (act like preference is Direct when SystemProxy isn't available) [r=biesi] 2009-12-03 01:31:55 -06:00
Jonas Sicking
a683373ce9 Fix mobile build bustage. Some compilers still don't seem to like L-strings spread out over several lines. r=crowder 2009-11-18 16:22:25 -08:00
Jonas Sicking
840c879ba2 Bug 529041: Deal with http channels not implementing nsIUploadChannel2. r=biesi 2009-11-18 15:21:13 -08:00
Honza Bambas
627774b80b Bug 515051 - Stream listener registered in a network request channel eats JS error messages, r=bz+biesi 2009-11-18 17:02:28 +01:00
Mark Finkle
2a60c72d7a Bug 495674: Internet connection should be initiated if needed [r=biesi] 2009-11-18 10:20:45 -05:00
Shawn Wilsher
b72759d65f b=522416; hang fix followup; r=bz 2009-10-18 13:40:49 -07:00
Ben Hsieh
14a9181f6b Bug 522025 - Incessant slew of GetURLSpecFromFile warnings. r=taras 2009-10-16 16:59:02 -07:00
Shawn Wilsher
3e6c5bc384 Bug 522416 - Add an asyncFetch method on NetUtil.jsm
This adds an asyncFetch method on NetUtil that will open a channel
asynchronously and provide the consumer with an input stream upon completion.
r=bz
sr=vlad

--HG--
extra : rebase_source : bbeffb5669ba0f040773fca5faca28494982ff94
2009-10-15 16:16:01 -07:00
Taras Glek
f874b47f78 Bug 520069 - cope with nsResURLs that don't point to physical files r=biesi
--HG--
extra : rebase_source : 451622b7f43dfaafa6ea10b28e452dc65678a594
2009-10-08 11:19:07 -07:00
Ben Hsieh
3eab496287 Bug 510991 - NS_GetURLSpecFromFile does a stat(). r=biesi 2009-10-06 15:43:59 +02:00
Ryan Flint
c249f3251a Bug 514415 - Expose NetUtil's reference to nsIIOService. r=sdwilsh, sr=bzbarsky 2009-10-03 01:11:20 -04:00
Honza Bambas
89990221eb Bug 479485 - Invalid port numbers cause default port to be used, should fail to load, r=bzbarsky 2009-09-28 17:10:34 +02:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Boris Zbarsky
5812649a29 Bug 409500. Compute the right output length for our base64 decoding. r=jduell 2009-09-18 14:53:17 -04:00
Jonathan Kew
c99301388b Bug 507970, part 1: nsIStreamLoader changes to support downloadable font code, r=bzbarsky
--HG--
extra : rebase_source : d0142c7afc7b7788a76caf2a2508e7604c2b74f1
2009-09-17 11:14:25 +01:00
Makoto Kato
4cd8c7c8eb Bug 507312 - nsFileInputStream::available() throws for files >= 4,294,967,295 bytes (4 GB). r=cbiesinger 2009-09-16 14:50:32 +09:00
Shawn Wilsher
36e4260c09 Bug 508902 - NetUtil.jsm should have a newURI method.
r=bz
sr=bsmedberg
2009-09-02 13:24:49 -07:00
Honza Bambas
349696172b Backout rev fc99651e9bca 2009-08-26 21:39:37 +02:00
Honza Bambas
4ce6f49811 Bug 479485 - Invalid port numbers cause default port to be used, should fail to load, r=bz 2009-08-26 20:08:28 +02:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Neil Rashbrook
6703d55afc Bug 408599 Expose nsSimpleNestedURI to XPCOM r=biesi sr=bz 2009-08-23 23:48:07 +01:00
Justin Dolske
5c8fe7b1db Bug 510627 - Windows CE hanging on some SSL sites. r=vladimir sr=cbiesinger 2009-08-20 15:17:29 -07:00
Navin Lal
7d36965d96 Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Masatoshi Kimura
1fcebc0492 Bug 493483 - "No proxy for" setting doesn't support IPv6 address literals. r=jduell, sr=bz 2009-08-11 10:28:34 +02:00
Mook
c76fd52119 Bug 504025 - [windows x64] casting pointer to long is illegal on win64; cast to PRUptrdiff for printing out pointers; r=cbiesinger
--HG--
extra : rebase_source : 9e9c5bc75f6d0c364bdd3d92b4b543da9f94b3bb
2009-08-09 00:50:42 +02:00
Mook
3aac38d487 Bug 504025 - [windows x64] casting pointer to long is illegal on win64; don't cast HANDLE to UINT either; r=doug.turner sr=cbiesinger
--HG--
extra : rebase_source : fe76a36b0ea21d3180883fc86772da029714b9da
2009-08-09 00:50:36 +02:00
L. David Baron
67e0d56fdf Backed out changeset bae405b94b96 (testing to see if it affected bug 505718, bug 508767) to re-enable leaked url dump for unit test boxes. 2009-08-07 08:23:15 -07:00
L. David Baron
fd82d36325 Try disabling DEBUG_DUMP_URLS_AT_SHUTDOWN to see if it's responsible for the unit test shutdown hangs (bug 505718, bug 508767) 2009-08-06 11:29:08 -07:00
Shawn Wilsher
eba729bbcf Bug 491936 - Create tests for NetUtil.jsm
Creates tests for NetUtil.jsm and fixes some minor errors with it.
r=bz
2009-08-05 13:19:01 -07:00