gecko/netwerk/test/unit
Ehsan Akhgari 5236854e21 Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell
This is probably the worst patch that I have ever written!

We add a setPrivate method to nsIPrivateBrowsingChannel which will be
implemented by channels who care about private browsing.  This allows the
client to explicitly override the private bit on the channel.
NS_UsePrivateBrowsing is also taught about this override bit using the
internal nsIPrivateBrowsingChannel::IsPrivateModeOverriden API.  This patch
implements the new API for HTTP, FTP and wyciwyg channels.  This also
modifies the IPC implementations of these channels to correctly transfer that
bit to the parent process if it has been set in the child process channel.
2012-09-04 20:37:45 -04:00
..
data Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:57:51 +01:00
head_cache.js Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell 2012-09-04 20:37:45 -04:00
head_channels.js Bug 747215: Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-06-05 23:59:05 -07:00
socks_client_subprocess.js Bug 435028 - IPv6 sites not reachable when using IPv4 SOCKS proxy. r=biesi 2012-07-20 20:19:37 -04:00
test_304_responses.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_307_redirect.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_aboutblank.js
test_assoc.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_auth_proxy.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_authentication.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_authpromptwrapper.js
test_bug203271.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug248970_cache.js Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell 2012-09-04 20:37:45 -04:00
test_bug248970_cookie.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug261425.js
test_bug263127.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug321706.js
test_bug331825.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug336501.js
test_bug337744.js
test_bug365133.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug368702.js
test_bug369787.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug371473.js
test_bug376660.js
test_bug376844.js
test_bug376865.js
test_bug379034.js
test_bug380994.js
test_bug388281.js
test_bug396389.js
test_bug411952.js
test_bug412945.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug414122.js
test_bug427957.js
test_bug429347.js
test_bug455311.js
test_bug455598.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_bug468426.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug468594.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug470716.js
test_bug479413.js
test_bug479485.js
test_bug482601.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug484684.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug490095.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug504014.js
test_bug510359.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug515583.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug528292.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug540566.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug543805.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug553970.js
test_bug561042.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug561276.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug580508.js
test_bug586908.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug596443.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug618835.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug633743.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug650995.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug651100.js Bug 737615 - Remove use of synchronous cache API from unit tests - necko tests part2, r=honzab 2012-08-01 23:22:28 +02:00
test_bug652761.js
test_bug654926_doom_and_read.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug654926_test_seek.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug654926.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug659569.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug660066.js
test_bug667818.js
test_bug667907.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug669001.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_bug712914_secinfo_validation.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_bug767025.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_cacheflags.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_cacheForOfflineUse_no-store.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_channel_close.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_compareURIs.js
test_compressappend.js Bug 737615: Replace usage of openCacheEntry with asyncOpenCacheEntry in Necko unit tests, r=bsmith 2012-06-12 14:23:32 -07:00
test_content_encoding_gzip.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_content_sniffer.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_cookie_header.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_data_protocol.js Bug 781693 - Accept ';' as delimiter after 'base64' keyword. r=bz 2012-08-22 06:57:02 -04:00
test_dns_localredirect.js Bug 769782: Remove synchronous DNS resolution in network tests. r=mcmanus 2012-07-10 18:23:07 -04:00
test_dns_service.js Bug 769782: Remove synchronous DNS resolution in network tests. r=mcmanus 2012-07-10 18:23:07 -04:00
test_doomentry.js Bug 737615 - Remove use of synchronous cache API from unit tests - minor fixies in necko tests, r=bsmith 2012-07-11 11:18:00 +02:00
test_duplicate_headers.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_event_sink.js Bug 783738 - Use Components.results.NS_BINDING_ABORTED instead of hardcoding the value, r=gavin 2012-08-14 23:32:06 -07:00
test_extract_charset_from_content_type.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_fallback_no-cache-entry_canceled.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_fallback_no-cache-entry_passing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_fallback_redirect-to-different-origin_canceled.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_fallback_redirect-to-different-origin_passing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_fallback_request-error_canceled.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_fallback_request-error_passing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_fallback_response-error_canceled.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_fallback_response-error_passing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_file_partial_inputstream.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_file_protocol.js Merge from mozilla-central 2012-05-03 17:33:52 -04:00
test_filestreams.js
test_force_sniffing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_gre_resources.js
test_gzipped_206.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_head.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_header_Accept-Language.js Bug 672448 - Allow the Accept-Language header to have quality ('q') values up to 2 decimal places. r=biesi 2012-08-29 22:49:31 -04:00
test_headers.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_http_headers.js
test_httpcancel.js Bug 783738 - Use Components.results.NS_BINDING_ABORTED instead of hardcoding the value, r=gavin 2012-08-14 23:32:06 -07:00
test_httpsuspend.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_idnservice.js
test_invalidport.js bug 780522 invalid port handling test case r=honzab 2012-08-09 20:38:37 -04:00
test_link.desktop
test_link.url
test_localstreams.js Bug 750817 - Do not rely on xpcomlib in netwerk xpcshell tests. r=jduell 2012-05-03 06:22:58 -04:00
test_MIME_params.js Bug 783502. r=jduell 2012-08-29 15:37:07 -07:00
test_mismatch_last-modified.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_mozTXTToHTMLConv.js Bug 223681 - [mozTXTToHTMLConv] fails for links with ipv6 addresses. r=ben.bucksch, sr=cbiesinger 2012-05-28 22:07:56 +03:00
test_multipart_streamconv_missing_lead_boundary.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_multipart_streamconv.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_nestedabout_serialize.js
test_net_addr.js
test_NetUtil.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_nojsredir.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_offline_status.js
test_offlinecache_custom-directory.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_parse_content_type.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_permmgr.js Bug 775817 - Update [most] tests to use the new permission manager api. r=sicking 2012-07-23 11:08:07 -07:00
test_pinned_app_cache.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_plaintext_sniff.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_post.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_private_channel.js Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell 2012-09-04 20:37:45 -04:00
test_progress.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_protocolproxyservice.js Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
test_proxy-failover_canceled.js Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
test_proxy-failover_passing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_proxy-replace_canceled.js Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
test_proxy-replace_passing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_psl.js Bug 779845 - Import PSL test from http://publicsuffix.org/list/test.txt. r=gerv. 2012-08-24 14:57:51 +01:00
test_range_requests.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_readline.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_redirect_baduri.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_redirect_canceled.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_redirect_failure.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_redirect_loop.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_redirect_passing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_redirect-caching_canceled.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_redirect-caching_failure.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_redirect-caching_passing.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_reentrancy.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_reopen.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_resumable_channel.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_resumable_truncate.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_safeoutputstream.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
test_simple.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_sockettransportsvc_available.js
test_socks.js Bug 435028 - IPv6 sites not reachable when using IPv4 SOCKS proxy. r=biesi 2012-07-20 20:19:37 -04:00
test_spdy.js bug 737470 patch 1 use ASpdySession to generically dispatch current version of spdy r=honzab 2012-05-25 17:37:01 -04:00
test_speculative_connect.js bug 723628 - speculative connect hint interface r=honzab sr=biesi 2012-04-25 08:54:42 -04:00
test_standardurl_port.js
test_standardurl.js
test_streamcopier.js
test_traceable_channel.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_unescapestring.js
test_URIs.js Bug 737841 - Part 3: remove no more useful redirectsMode query option. 2012-04-07 01:17:53 +02:00
test_XHR_redirects.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
test_xmlhttprequest.js Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Netwerk, r=ted 2012-08-14 10:06:04 -04:00
xpcshell.ini Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell 2012-09-04 20:37:45 -04:00