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

190 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky cd5d74649f Bug 537120 part 1: Make sure the multipart converter's part channels install a type sniffer as needed. r=jduell 2010-04-10 09:10:21 -07:00
Justin Lebar b7d1c73d65 Bug 553970 - Fix nsIURL::GetRelativeSpec documentation. r=biesi
--HG--
extra : rebase_source : 874de0e571120e2b9034d924b4e4f33f808bc0f0
2010-03-22 13:29:51 -07:00
Boris Zbarsky 7c9507e723 Bug 547239 followup to address biesi's review comments. 2010-03-03 18:53:18 -05:00
Boris Zbarsky 3661ac8a49 Bug 547239. Don't lose our POST body on 307 redirects and internal proxy-related redirects. r=sicking. r=jduell and biesi pending. 2010-02-23 23:37:47 -05:00
timeless@mozdev.org 0858f466c1 Bug 540566 nsCacheEntryDescriptor::GetDeviceID may crash in NS_strdup [@strlen | NS_strdup(char const*) ]
r=biesi
2010-02-21 15:53:13 +01:00
Ben Bucksch 1dfd3713f2 nsIAuthPrompt2: add PREVIOUS_FAILED, bug 521467, r=biesi, sr=bz
Add flag nsIAuthInformation.PREVIOUS_FAILED to notify the
login manager that the previous login attempt failed.
That allows it to show a prompt instead of using the
stored values (silently).

--HG--
extra : rebase_source : 5a725bba1ae34d030fd60ecd5d67c74317de5d4f
2010-02-12 17:55:11 +01:00
Dan Witte ac5ec695ab 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
Shawn Wilsher fb02903f29 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 498b94453f 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 0a0e3223a8 Backout of bug 532147 and bug 532146 due to test failure. 2009-12-16 11:02:10 -08:00
Shawn Wilsher 01eec6a41b 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 7ca65cca32 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 8b5747b4d8 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
Myk Melez f77bd8af4b bug 528292: convey the mForceAllowThirdPartyCookie flag when setting up a replacement channel for a redirected HTTP request; r,sr=bzbarsky 2009-12-13 11:04:03 -08:00
John Daniels 2556f6f857 Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
--HG--
extra : rebase_source : 6fbaac51eabe95fcfaf4706feb9fd8a28ba4dfbf
2009-11-24 11:58:42 -08:00
Honza Bambas 7400cac557 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
Jason Duell 954af229bf Bug 521258 - Catch exceptions in template ChannelListener class to avoid hangs, r=jwalden 2009-11-14 20:54:52 -08:00
Jae-Seong Lee-Russo 041250a16e Bug 525588 - Some existing necko tests failing once base class catches handler exceptions, r=jduell 2009-11-14 20:54:49 -08:00
Dão Gottwald 0d39e46fc6 Bug 527347 - nsIScriptableUnicodeConverter::convertToByteArray aLen out param should be optional. r=smontagu 2009-11-12 11:07:00 +01:00
Jae-Seong Lee b2f1a27021 Bug 521189 - Some necko unit tests fail or hang with 'strict' & 'werror' on. r=jwalden 2009-11-10 14:11:31 -08:00
Robert O'Callahan 3a8821cd4b Bug 508128. Make sure to QI to the right interface so that if the JS wrapper gets GCed we still have a getRequestHeader method. 2009-11-04 07:39:41 +13:00
Gijs Kruitbosch c888c1980e Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Jae-Seong Lee 7350563dd6 Bug 521189 - Properly declare a variable in this test rather than implicitly creating a global variable. r=jwalden 2009-10-28 15:20:34 -07:00
Jeff Walden 5e005621ac Bug 524245 - Correctly serialize and deserialize nsNestedAboutURI::mBaseURI as the same interface, not as different ones. r=bz 2009-10-26 15:48:23 -07:00
Shawn Wilsher 2a65eeefef Bug 522416 - Tests for blocking input stream in NetUtil.asyncFetch.
--HG--
extra : rebase_source : 51de6e900c10ad0e81106518dadf1ce19a972b2a
2009-10-19 12:23:17 -07:00
Vladimir Vukicevic 855c5ebcbd b=522416, test hang fix
--HG--
extra : transplant_source : %C3%06%0A%0CC%29%8C%DE%05%7C%84xvwm%C8%FC%28%AB%2C
2009-10-18 18:29:31 -07:00
Shawn Wilsher 2093fcffbe 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
Ryan Flint fda9a02a86 Bug 514415 - Expose NetUtil's reference to nsIIOService. r=sdwilsh, sr=bzbarsky 2009-10-03 01:11:20 -04:00
Honza Bambas aa32fa9630 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
Michal Novotny fe2e02be60 Bug 515583 - Fixed parsing of CMU/VMS-IP FTP style listing [r=dougt r=wtc sr=biesi] 2009-09-23 02:15:29 +02:00
Shawn Wilsher 02e90dcf5d Bug 508902 - NetUtil.jsm should have a newURI method.
r=bz
sr=bsmedberg
2009-09-02 13:24:49 -07:00
Boris Zbarsky 4d9c7b5103 Backed out changeset 6ee269c6c118 (test for bug 474536) because it hangs on Tinderbox
--HG--
extra : rebase_source : 4a94234dc481caff6e147082e0f1c5a13602e84b
2009-09-02 13:34:18 -04:00
Jason Duell 7d857b7081 Adding test for bug 474536. r=dcamp sr=bzbarsky 2009-09-02 11:33:13 -04:00
tglek@mozilla.com 6da2f5fcc8 Bug 508421 - move res/ stuff into toolkit.jar (r=bsmedberg)
* * *
* * *
2009-08-27 08:35:48 -07:00
Honza Bambas 9717eb40b7 Backout rev fc99651e9bca 2009-08-26 21:39:37 +02:00
Honza Bambas b13c9d1676 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
bjarne@runitsoft.com 99d395b79d Bug 510359 - Cached "Vary: Cookie" responses are improperly revalidated/reused r=biesi 2009-08-24 10:32:18 -04:00
Michal Novotny 3fba95639e Bug 484684 - ParseFTPList can't handle regular unix ls -l listing of filenames starting with spaces; r=jduell.mcbugs sr=bzbarsky 2009-08-08 11:55:16 +02:00
Shawn Wilsher 9c62ea448e Bug 508605 - NetUtil.asyncCopy does not handle nsISafeOutputStreams correctly
This moves nsISafeOutputStream.idl into xpcom/io and makes nsAStreamCopier
handle nsISafeOutputStream correctly (calling finish instead of close).
r=bz
r=bsmedberg

--HG--
rename : netwerk/base/public/nsISafeOutputStream.idl => xpcom/io/nsISafeOutputStream.idl
2009-08-06 13:34:46 -07:00
Ted Mielczarek fb6939649b bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 76f547c1f055f18f57e09c67f1a2f7b2f548c3cd
2009-05-14 07:37:40 -04:00
Shawn Wilsher a8247b5446 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
Ted Mielczarek 092e85a88d Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures 2009-08-05 15:36:20 -04:00
Ted Mielczarek bb3956d8f7 bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
--HG--
extra : rebase_source : 7bd4c374609a9eea15d0b244c1415ae853146e84
2009-05-14 07:37:40 -04:00
Michael Kohler 4b7c87c984 Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
Honza Bambas 479929e28c Bug 475053 - Implement asyncPromptAuth to fix multiple password prompt overlap, r=bzbarsky+dolske 2009-07-20 20:29:41 +02:00
Neil Rashbrook 82443aa6e6 Test for bug 499675 2009-06-23 13:25:30 +01:00
Shawn Wilsher 6a8d60b403 Bug 494217 - nsINetUtil::unescapeString drops high bytes of UTF-16 strings from JS
This fixes an issue where unescapeString will drop the high bytes of a UTF-16
string when unescaping, resulting in a loss of data.
r=bz
sr=bz
2009-06-17 12:13:02 -07:00
Bjarne ba10247a78 Bug 490095 fix regression from bug 468594: don't override VALIDATE_NEVER when
the URL has a query string and no explicit expiration time.
r+sr=biesi
2009-06-16 18:27:17 +02:00
Serge Gautherie c5db2caabd Bug 470241 - [Firefox] test_bug248970_cache.js leaks; (Av1a) trivial cleanup; r=sdwilsh 2009-06-02 00:21:33 +02:00
Boris Zbarsky 612e9ad4e4 Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg. 2009-05-07 15:21:54 -04:00