gecko-dev/netwerk/base/public
Shawn Wilsher fe66178c10 Bug 466582 - smarter handling of remote chrome (and not allowing it)
This adds a new flag, URI_IS_LOCAL_RESOURCE, to nsIProtocolHandler that allows
something of this protocol to be registered in chrome.

This changeset removes a runtime check every time we open a chrome channel to
see if it is remote to a registration time check that checks flags.  The old
code could be easily worked around, and allowed for remote resources to be used.

r=bsmedberg
r=bz
sr=bz
2008-12-09 16:27:42 -05:00
..
Makefile.in Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
netCore.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsASocketHandler.h Bug 418535 - Make socket attachment to nsSocketTransportService usable from XPCOM. r+sr=biesi, a1.9=beltzner 2008-02-26 12:39:50 -08:00
nsCPasswordManager.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsCPasswordManagerInternal.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsChannelProperties.h Bug 315087 - convert necko tests to use the glue, r=darin 2005-11-08 19:23:00 +00:00
nsIApplicationCache.idl Bug 442813: Implement fallback/opportunistic caching for application caches. p=me, Honza Bambas <honzab@allpeers.com>, r+sr=biesi 2008-09-30 11:34:23 -07:00
nsIApplicationCacheChannel.idl Bug 461325: Cache implicit entries when the manifest is not changed. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
nsIApplicationCacheContainer.idl Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-26 16:09:02 -07:00
nsIApplicationCacheService.idl Bug 461071: Allow application caches to be obsoleted. r=honzab, r+sr=bz 2008-11-04 10:59:12 -08:00
nsIAsyncStreamCopier.idl landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
nsIAuthInformation.idl Bug 353595 fix nsIAuthInformation comments 2006-09-22 21:01:59 +00:00
nsIAuthModule.idl add optional support for mit kerberos for windows, patches by cneberg@gmail.com, r=darin, sr=bienvenu 280792 2005-08-19 14:25:22 +00:00
nsIAuthPrompt.idl Bug 419081 - Password prompting code doesn't check new passwords against all possible existing passwords. r=gavin, a=blocking-ff3+ 2008-03-10 17:14:10 -07:00
nsIAuthPrompt2.idl Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at 2006-08-26 21:42:54 +00:00
nsIAuthPromptAdapterFactory.idl Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at 2006-08-26 21:42:54 +00:00
nsIAuthPromptCallback.idl Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at 2006-08-26 21:42:54 +00:00
nsIAuthPromptProvider.idl Bug 265780 part I: Implement nsIAuthPrompt2 and related interfaces per the design at 2006-08-26 21:42:54 +00:00
nsIBufferedStreams.idl new files for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 01:27:53 +00:00
nsIByteRangeRequest.idl bug 264599 make unfrozen necko interfaces use 64-bit integers. 2005-01-09 20:43:35 +00:00
nsICachingChannel.idl Bug 445544: Navigating away from an offline app fails. r=honzab, r+sr=bz 2008-11-04 02:20:27 -08:00
nsICancelable.idl fixes bug 287648 "Unify 'request' object interface for DNS and PPS asyncResolve methods" r=biesi sr=bzbarsky 2005-04-01 23:31:04 +00:00
nsIChannel.idl Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
nsIChannelEventSink.idl 181938 allow any protocol to support redirection, using a new 2005-03-07 19:46:06 +00:00
nsIContentSniffer.idl bug 325177 r=darin sr=bz 2006-02-17 16:54:27 +00:00
nsICryptoFIPSInfo.idl landing final patch for NTLM authentication based on WIN32 SSPI API, b=159015 r=kaie sr=dbaron a=asa 2003-03-27 19:31:53 +00:00
nsICryptoHMAC.idl Bug 419794 - "work out key API for nsICryptoHMAC" (API use nsIKeyObject + fix nsKeyModule + nsICryptoHMAC usage fix) [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=rrelyea sr=dveditz a=blocking1.9+] 2008-03-18 12:45:40 -07:00
nsICryptoHash.idl Bug 302284. add xpi hash support to InstallTrigger.install(). r=dveditz, sr=shaver, a=asa 2006-09-15 09:52:07 +00:00
nsIDownloader.idl Make sure to grab the security info from the underlying channel so that the 2004-04-21 14:58:45 +00:00
nsIEncodedChannel.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsIExternalProtocolHandler.idl Fix for 183111. Added nsIExternalProtocolHandler interface and method handlerExists in netwerk/bae/public to be used by mozTXTToHTMLConv. Also treated 0xA0 as space in mozTXTToHTMLConv. r=darin, sr=sspitzer. 2003-02-27 22:46:42 +00:00
nsIFileStreams.idl Bug 343281 - nsIFileInputStream/nsIFileOutputStream::Init - document the special -1 value for ioFlags and perm params, patch by Nickolay Ponomarev. r=cbiesinger, sr=darin 2006-06-30 23:06:20 +00:00
nsIFileURL.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsIIOService.idl Bug 312793. Add Necko APIs to enable automatic management of online/offline status, and let Firefox use it. Disable automatic management in Thunderbird and Seamonkey until those apps are ready for it. Other applications will get automatic management by default. This needs platform-specific components to be created before it will have any effect. r+sr=darin 2006-04-04 21:26:17 +00:00
nsIIOService2.idl Bug 312793. Add Necko APIs to enable automatic management of online/offline status, and let Firefox use it. Disable automatic management in Thunderbird and Seamonkey until those apps are ready for it. Other applications will get automatic management by default. This needs platform-specific components to be created before it will have any effect. r+sr=darin 2006-04-04 21:26:17 +00:00
nsIIncrementalDownload.idl fixes bug 306170 "background download fails if server returns 200 response" r=biesi sr=bzbarsky 2005-10-20 21:45:13 +00:00
nsIInputStreamChannel.idl Initial patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky 2005-11-12 18:17:19 +00:00
nsIInputStreamPump.idl landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
nsILoadGroup.idl Add some additional documentation about this function's behavior. bug 342191, r+sr=darin 2006-06-27 17:57:26 +00:00
nsIMIMEInputStream.idl bug 264599 make unfrozen necko interfaces use 64-bit integers. 2005-01-09 20:43:35 +00:00
nsIMultiPartChannel.idl Don't lose track of image requests that are multipart/x-mixed-replace, so that we can disable bfcache for these documents. Bug 308903, r=pavlov, sr=darin. 2005-10-03 22:27:20 +00:00
nsINSSErrorsService.idl Attempting to fix tinderbox bustage from bug 378241 2007-12-04 11:38:27 -08:00
nsINestedURI.idl Improve docs. Bug 354049 2006-09-24 20:16:24 +00:00
nsINetUtil.idl Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
nsINetworkLinkService.idl Bug 312793. Add Necko APIs to enable automatic management of online/offline status, and let Firefox use it. Disable automatic management in Thunderbird and Seamonkey until those apps are ready for it. Other applications will get automatic management by default. This needs platform-specific components to be created before it will have any effect. r+sr=darin 2006-04-04 21:26:17 +00:00
nsIPasswordManager.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsIPasswordManagerInternal.idl bug 373253. Initial addition of test framework and tests for pwmgr. Patch by Justin Dolske <dolske@mozilla.com>. r=sayrer, sr=mconnor 2007-04-22 16:56:06 -07:00
nsIPasswordManagerUtils.h Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsIPermission.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-11-15 21:50:29 +00:00
nsIPermissionManager.idl move permission manager persistent storage from hostperm.1 to permissions.sqlite, use nsIURI::GetAsciiHost() for consistent host normalization, and expand type/permission limits. bugs 400092 and 400097 (patch in 400097), sr=shaver, pending r=sdwilsh, blocking-1.9+. 2007-12-04 22:37:36 -08:00
nsIPrivateBrowsingService.idl Bug 460086 - Library context menu for history items should include "Delete all data to <domain>" 2008-11-05 03:24:22 -05:00
nsIProgressEventSink.idl bug 264599 make unfrozen necko interfaces use 64-bit integers. 2005-01-09 20:43:35 +00:00
nsIPrompt.idl Bug 351881 nsIPrompt needs nsIPromptService::STD_YES_NO_BUTTONS 2006-12-31 19:23:50 +00:00
nsIProtocolHandler.idl Bug 466582 - smarter handling of remote chrome (and not allowing it) 2008-12-09 16:27:42 -05:00
nsIProtocolProxyCallback.idl fixes bug 287646 "Eliminate nsPIProtocolProxyService and introduce reloadPAC method" r=biesi,neil,beng,mscott sr=bzbarsky 2006-03-30 17:31:15 +00:00
nsIProtocolProxyFilter.idl landing patch for bug 282442 "Provide interface for configuring proxies" r=biesi sr=bzbarsky 2005-03-25 03:41:33 +00:00
nsIProtocolProxyService.idl fixes bug 287646 "Eliminate nsPIProtocolProxyService and introduce reloadPAC method" r=biesi,neil,beng,mscott sr=bzbarsky 2006-03-30 17:31:15 +00:00
nsIProtocolProxyService2.idl fixes bug 287646 "Eliminate nsPIProtocolProxyService and introduce reloadPAC method" r=biesi,neil,beng,mscott sr=bzbarsky 2006-03-30 17:31:15 +00:00
nsIProxiedChannel.idl bug 346151 Add nsIProxiedChannel to allow querying the proxy info a channel 2006-08-01 21:28:31 +00:00
nsIProxiedProtocolHandler.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsIProxyAutoConfig.idl landing patch for bug 282442 "Provide interface for configuring proxies" r=biesi sr=bzbarsky 2005-03-25 03:41:33 +00:00
nsIProxyInfo.idl fixes bug 287646 "Eliminate nsPIProtocolProxyService and introduce reloadPAC method" r=biesi,neil,beng,mscott sr=bzbarsky 2006-03-30 17:31:15 +00:00
nsIRandomGenerator.idl Bug 369428 - nsExternalAppHandler::SetUpTempFile uses a poor source of randomness, resulting in predictable filenames. r=kaie, sr=rrelyea, a=blocking1.9 2007-10-12 15:48:07 -07:00
nsIRequest.idl Implement cookieless requests for Access-Control. b=389508 r=biesi sr=jst 2008-09-30 17:52:52 -07:00
nsIRequestObserver.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsIRequestObserverProxy.idl landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
nsIResumableChannel.idl Bug 227057 remove nsIResumableEntityID in favor of using strings for the entity 2004-09-01 18:04:17 +00:00
nsISafeOutputStream.idl rename nsISafeFileOutputStream to nsISafeOutputStream, and make nsBufferedOutputStream aware of it, to make life easier on consumers. 2004-07-19 22:00:03 +00:00
nsISecretDecoderRing.idl Bug 306966: Convert method comments in nsISecretDecoderRing to doxygen, patch by Jeff Walden <jwalden@mit.edu>, r+sr=darin 2006-01-26 01:09:09 +00:00
nsISecureBrowserUI.idl Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
nsISecurityEventSink.idl bug 264599 make unfrozen necko interfaces use 64-bit integers. 2005-01-09 20:43:35 +00:00
nsISecurityInfoProvider.idl Bug 135007, Transfer mode of images should be relevant for shown lock icon state (mixed content) 2008-09-01 22:53:59 +02:00
nsIServerSocket.idl fixing up comment for nsIServerSocket::getAddress so it is clear that this cannot be used to determine the IP address of the local system. 2003-11-21 07:09:31 +00:00
nsISimpleStreamListener.idl bug 240920 - document nsIStreamLoader, document nsISimpleStreamListener some 2004-04-20 13:54:47 +00:00
nsISocketTransport.idl Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 11:05:46 -05:00
nsISocketTransportService.idl followup to bug 418535, add comments about which threads nsISocketTransportService functions can be called on patch by Florian Quèze <florian@queze.net> r+sr=biesi 2008-03-18 14:00:53 -07:00
nsIStandardURL.idl Add an interface for nested URIs (like jar:, view-source:, etc) to implement 2006-05-02 18:54:19 +00:00
nsIStreamListener.idl Bug 274218 better document the behaviour of onDataAvailable. r+sr+a=darin 2006-07-20 22:29:34 +00:00
nsIStreamListenerTee.idl cleaning up documentation, marking some interfaces frozen, and splitting 2002-05-03 07:49:43 +00:00
nsIStreamLoader.idl Make nsIStreamLoader and nsIUnicharStreamLoader be stream listeners. Bug 2006-10-24 21:47:40 +00:00
nsIStreamTransportService.idl bug 264599 make unfrozen necko interfaces use 64-bit integers. 2005-01-09 20:43:35 +00:00
nsISyncStreamListener.idl adding some additional documentation per bzbarsky, b=192284 2003-10-08 04:37:38 +00:00
nsISystemProxySettings.idl Bug 66057 - "Proxy: $http_proxy should influence proxy settings" [p=roc@ocallahan.org (Robert O'Callahan [roc]) / diane@ghic.org (Diane Trout) / ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=josh r+sr=biesi a1.9=damons] 2008-01-29 07:58:38 -08:00
nsITraceableChannel.idl Bug 430155. New nsHttpChannel interface to allow examination of HTTP data before it is passed to the channel's creator. r=biesi, sr=bzbarsky 2008-08-25 13:21:28 -04:00
nsITransport.idl landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
nsIURI.idl Bug 378128 - ascii art in IDL files should be protected so that it displays in documentationp=Ray Kiddy <ray@ganymede.org>r=biesi 2007-04-27 09:50:11 -07:00
nsIURIChecker.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsIURL.idl fix documentation to mention proper http:// URLs. 2006-05-18 19:03:59 +00:00
nsIURLParser.idl Updating licenses to tri-license. 2001-12-22 09:15:51 +00:00
nsIUnicharStreamListener.idl Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org 2004-11-02 19:52:32 +00:00
nsIUnicharStreamLoader.idl Add test and some docs for bug 376660. r=biesi 2007-04-16 18:47:57 -07:00
nsIUploadChannel.idl Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
nsNetError.h Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner 2008-11-07 18:00:26 -05:00
nsNetStrings.h bug 283489 r=darin sr=bz 2005-04-05 17:40:32 +00:00
nsNetUtil.h Bug 462804. Remove redundant method. r=dcamp, biesi, sr=roc 2008-11-03 11:00:54 -05:00
nsPISocketTransportService.idl fixes bug 283049 "nsISocketTransportService cleanup" r=biesi sr=bzbarsky a=asa 2005-04-14 23:18:34 +00:00
nsReadLine.h Make NS_ReadLine() not lie about having more data when the stream ends in \r\n. b=397850 r+sr=cbiesinger a=blocking1.9 2008-01-15 02:22:58 -08:00
nsURIHashKey.h Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
security-prefs.js Bug 454406 - "SSL handshakes fail after asking PSM to remember user's choice of client auth cert" (backed out changeset 6615b044bcd8 from bug 431819) 2008-10-01 01:01:39 -05:00