gecko-dev/netwerk/test/unit
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
..
data Backed out changeset 6ee269c6c118 (test for bug 474536) because it hangs on Tinderbox 2009-09-02 13:34:18 -04:00
head_channels.js Bug 521258 - Catch exceptions in template ChannelListener class to avoid hangs, r=jwalden 2009-11-14 20:54:52 -08:00
test_aboutblank.js Backed out changeset 55d159b75f41 from bug 482659. 2009-03-17 11:08:59 +00:00
test_authentication.js Bug 527347 - nsIScriptableUnicodeConverter::convertToByteArray aLen out param should be optional. r=smontagu 2009-11-12 11:07:00 +01:00
test_authpromptwrapper.js
test_bug203271.js Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden 2009-11-24 11:58:42 -08:00
test_bug248970_cache.js 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
test_bug248970_cookie.js Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
test_bug261425.js Bug 431890: nsStandardURL::SetSpec does not fail when host contains leading space " ". r+sr=cbiesinger 2008-09-14 21:15:06 +03:00
test_bug263127.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_bug321706.js Bug 321706 - Some elements of pages in sub-directories are not loaded if the URL ends by /.patch by Florian Quèze <f.qu@queze.net>, r+sr=cbiesinger 2007-06-03 07:31:14 -07:00
test_bug331825.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_bug336501.js
test_bug337744.js Bug 106386 - Correct misspellings in source code (old); Part 2; r=timeless 2009-07-27 10:47:02 +02:00
test_bug365133.js Bug 365133 - "The FTP folder won't open!" [r=bzbarsky sr=dougt] 2008-10-01 00:28:39 -05:00
test_bug368702.js add unit test for bug 402013. 2007-12-04 18:28:37 -08:00
test_bug369787.js Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden 2009-11-24 11:58:42 -08:00
test_bug371473.js
test_bug376660.js
test_bug376844.js Bug 376844 - Single quotes in URLs should be escaped. Patch by Wladimir Palant <trev.moz@adblockplus.org>. r=benjamin, sr=cbiesinger. 2007-06-17 05:29:08 -07:00
test_bug376865.js
test_bug379034.js Bug 379034 - Relative URLs with capitalized schemes are treated as absolute, r=biesi sr=bzbarsky 2008-08-19 10:48:10 -04:00
test_bug380994.js 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
test_bug388281.js Make SetPort actually update the internal offsets correctly. Bug 388281, r+sr=biesi 2007-07-16 21:48:47 -07:00
test_bug396389.js Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995 2009-10-29 14:44:10 +01:00
test_bug411952.js Bug 411952 - Cookie's creationTime needs to be exposed via nsICookie2; r=mconnor, sr=bzbarsky (unit test) 2008-10-31 17:21:31 +03:30
test_bug412945.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_bug414122.js bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo 2009-03-21 11:20:00 -04:00
test_bug419157.js Fallback to null-padding in nsMimeHeaderParam::GetParameter if all other conversions fail. Bug 419157, r+sr=biesi, b=beltzner 2008-04-08 11:45:55 -07:00
test_bug427957.js Pass domain names to stringprep label by label. Bug 427959, r+sr=biesi, a1.9+b1.9=beltzner 2008-04-14 01:26:55 -07:00
test_bug429347.js Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger] 2008-10-01 00:34:29 -05:00
test_bug455311.js bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo 2009-03-21 11:20:00 -04:00
test_bug455598.js Bug 455598 - nsICookieManager2.cookieExists incorrectly assumes a nsCookie param; test; r=dwitte sr=bzbarsky 2008-09-20 16:28:09 +02:00
test_bug468594.js Bug 525588 - Some existing necko tests failing once base class catches handler exceptions, r=jduell 2009-11-14 20:54:49 -08:00
test_bug470716.js Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden 2009-11-24 11:58:42 -08:00
test_bug479413.js Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995 2009-10-29 14:44:10 +01:00
test_bug479485.js 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
test_bug482601.js Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden 2009-11-24 11:58:42 -08:00
test_bug484684.js 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
test_bug490095.js Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden 2009-11-24 11:58:42 -08:00
test_bug510359.js Bug 525588 - Some existing necko tests failing once base class catches handler exceptions, r=jduell 2009-11-14 20:54:49 -08:00
test_bug515583.js 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
test_bug528292.js 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
test_cacheflags.js Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden 2009-11-24 11:58:42 -08:00
test_content_sniffer.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_cookie_header.js 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
test_data_protocol.js Test for bug 499675 2009-06-23 13:25:30 +01:00
test_dns_service.js Fix necko's test_dns_service.js test to treat ::1 the same as 127.0.0.1 for DNS resolution of localhost in order to fix Mac unit test failure now that IPv6 is enabled (as per bug 408881). 2008-01-05 00:10:56 -08:00
test_event_sink.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_extract_charset_from_content_type.js Add the charset right after the type, before all other params, if there is no existing charset in the type. Bug 413974, r=biesi, sr=sicking, a=beltzner 2008-02-28 20:24:32 -08:00
test_file_protocol.js Bug 455311. Better handling of Cancel and IsPending() on nsBaseChannel redirects, plus unit tests. r+sr=biesi 2008-10-22 11:42:32 -04:00
test_gre_resources.js Bug 508421 - move res/ stuff into toolkit.jar (r=bsmedberg) 2009-08-27 08:35:48 -07:00
test_gzipped_206.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_http_headers.js
test_httpcancel.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_idnservice.js Bug 409614 - IDN with non-ASCII TLD is displayed in Punycode. r+sr=biesi, a=damons 2008-01-28 22:06:01 -08:00
test_link.desktop Bug 455311. Better handling of Cancel and IsPending() on nsBaseChannel redirects, plus unit tests. r+sr=biesi 2008-10-22 11:42:32 -04:00
test_link.url Bug 455311. Better handling of Cancel and IsPending() on nsBaseChannel redirects, plus unit tests. r+sr=biesi 2008-10-22 11:42:32 -04:00
test_localstreams.js 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
test_nestedabout_serialize.js 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
test_NetUtil.js Bug 532147 - NetUtil.asyncFetch should take an nsIURI, string, nsIFile, or nsIChannel 2009-12-15 23:33:08 -08:00
test_parse_content_type.js
test_permmgr.js add unit test for permission manager. 2007-12-04 23:23:14 -08:00
test_plaintext_sniff.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_protocolproxyservice.js
test_readline.js bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo 2009-03-21 11:20:00 -04:00
test_redirect_caching.js Bug 521189 - Some necko unit tests fail or hang with 'strict' & 'werror' on. r=jwalden 2009-11-10 14:11:31 -08:00
test_reopen.js Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden 2009-11-24 11:58:42 -08:00
test_resumable_channel.js Bug 521189 - Some necko unit tests fail or hang with 'strict' & 'werror' on. r=jwalden 2009-11-10 14:11:31 -08:00
test_resumable_truncate.js Bug 396226 - Provide an API to asynchronously generate HTTP responses in httpd.js, and implement a state-storage system which can store object references to provide greater contextual information in handlers. NB: this push enables httpd.js debug output just in case something goes wrong, to be disabled as soon as it's clear nothing has -- expect the first Windows builds to finish next century sometime. r=sayrer 2009-04-15 13:19:35 -07:00
test_standardurl_port.js Bug 407538: newURI(http://foo.com:80).port is 80, should be -1 (can set a URI's port to its default value by setting .spec), r+sr=biesi 2008-06-15 21:16:57 -04:00
test_standardurl.js Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger] 2008-10-01 00:34:29 -05:00
test_streamcopier.js Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky. 2009-03-30 15:10:13 -04:00
test_traceable_channel.js 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
test_unescapestring.js Bug 494217 - nsINetUtil::unescapeString drops high bytes of UTF-16 strings from JS 2009-06-17 12:13:02 -07:00