diff --git a/directory/xpcom/datasource/nsLDAPDataSource.js b/directory/xpcom/datasource/nsLDAPDataSource.js index 6d18ac47040..7e63d308845 100644 --- a/directory/xpcom/datasource/nsLDAPDataSource.js +++ b/directory/xpcom/datasource/nsLDAPDataSource.js @@ -446,7 +446,7 @@ var nsLDAPDataSourceModule = { }, nsLDAPDataSourceFactory: { - CreateInstance: function(outer, iid) { + createInstance: function(outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; @@ -455,7 +455,7 @@ var nsLDAPDataSourceModule = { }, nsLDAPMessageRDFDelegateFactoryFactory: { - CreateInstance: function(outer, iid) { + createInstance: function(outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; @@ -464,7 +464,7 @@ var nsLDAPDataSourceModule = { }, nsLDAPURLRDFDelegateFactoryFactory: { - CreateInstance: function(outer, iid) { + createInstance: function(outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; @@ -473,7 +473,7 @@ var nsLDAPDataSourceModule = { }, nsLDAPConnectionRDFDelegateFactoryFactory: { - CreateInstance: function(outer, iid) { + createInstance: function(outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/extensions/irc/js/lib/chatzilla-service.js b/extensions/irc/js/lib/chatzilla-service.js index 96dfce05268..5b109db3927 100644 --- a/extensions/irc/js/lib/chatzilla-service.js +++ b/extensions/irc/js/lib/chatzilla-service.js @@ -82,7 +82,7 @@ CLineService.prototype.openWindowWithArgs=false; /* factory for command line handler service (CLineService) */ CLineFactory = new Object(); -CLineFactory.CreateInstance = +CLineFactory.createInstance = function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; @@ -138,7 +138,7 @@ function (aContentType, aCommand, aWindowTarget, aSourceContext, aChannel) /* content handler factory object (IRCContentHandler) */ IRCContentHandlerFactory = new Object(); -IRCContentHandlerFactory.CreateInstance = +IRCContentHandlerFactory.createInstance = function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; @@ -181,7 +181,7 @@ function (aURI) /* protocol handler factory object (IRCProtocolHandler) */ IRCProtocolHandlerFactory = new Object(); -IRCProtocolHandlerFactory.CreateInstance = +IRCProtocolHandlerFactory.createInstance = function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/extensions/xml-rpc/src/nsDictionary.js b/extensions/xml-rpc/src/nsDictionary.js index 5de448bcc72..cf2a2edec45 100644 --- a/extensions/xml-rpc/src/nsDictionary.js +++ b/extensions/xml-rpc/src/nsDictionary.js @@ -18,9 +18,9 @@ /* * nsDictionary XPCOM component - * Version: $Revision: 1.2 $ + * Version: $Revision: 1.3 $ * - * $Id: nsDictionary.js,v 1.2 2000-05-09 11:33:40 mj%digicool.com Exp $ + * $Id: nsDictionary.js,v 1.3 2000-08-10 20:11:58 rayw%netscape.com Exp $ */ /* @@ -103,7 +103,7 @@ var nsDictionaryModule = { /* nsDictionary Class Factory */ var nsDictionaryFactory = { - CreateInstance: function(outer, iid) { + createInstance: function(outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/extensions/xml-rpc/src/nsXmlRpcClient.js b/extensions/xml-rpc/src/nsXmlRpcClient.js index a8ecbf92ca6..d8ca67820fa 100644 --- a/extensions/xml-rpc/src/nsXmlRpcClient.js +++ b/extensions/xml-rpc/src/nsXmlRpcClient.js @@ -18,9 +18,9 @@ /* * nsXmlRpcClient XPCOM component - * Version: $Revision: 1.9 $ + * Version: $Revision: 1.10 $ * - * $Id: nsXmlRpcClient.js,v 1.9 2000-07-27 14:52:47 mj%digicool.com Exp $ + * $Id: nsXmlRpcClient.js,v 1.10 2000-08-10 20:11:58 rayw%netscape.com Exp $ */ /* @@ -1269,7 +1269,7 @@ var nsXmlRpcClientModule = { /* nsXmlRpcClient Class Factory */ var nsXmlRpcClientFactory = { - CreateInstance: function(outer, iid) { + createInstance: function(outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; @@ -1283,7 +1283,7 @@ var nsXmlRpcClientFactory = { /* nsXmlRpcFault Class Factory */ var nsXmlRpcFaultFactory = { - CreateInstance: function(outer, iid) { + createInstance: function(outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/extensions/xmlterm/ui/xmlterm-service.js b/extensions/xmlterm/ui/xmlterm-service.js index 2c4d693bb7a..208dd6c6295 100644 --- a/extensions/xmlterm/ui/xmlterm-service.js +++ b/extensions/xmlterm/ui/xmlterm-service.js @@ -83,7 +83,7 @@ CLineService.prototype.openWindowWithArgs=false; /* factory for command line handler service (CLineService) */ CLineFactory = new Object(); -CLineFactory.CreateInstance = +CLineFactory.createInstance = function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; @@ -142,7 +142,7 @@ function (aContentType, aCommand, aWindowTarget, aSourceContext, aChannel) /* content handler factory object (TelnetContentHandler) */ TelnetContentHandlerFactory = new Object(); -TelnetContentHandlerFactory.CreateInstance = +TelnetContentHandlerFactory.createInstance = function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; @@ -185,7 +185,7 @@ function (aURI) /* protocol handler factory object (TelnetProtocolHandler) */ TelnetProtocolHandlerFactory = new Object(); -TelnetProtocolHandlerFactory.CreateInstance = +TelnetProtocolHandlerFactory.createInstance = function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/netwerk/base/src/nsFilters.js b/netwerk/base/src/nsFilters.js index 025c2a98040..0cce8cb6372 100644 --- a/netwerk/base/src/nsFilters.js +++ b/netwerk/base/src/nsFilters.js @@ -77,7 +77,7 @@ filterModule.canUnload = } var filtersFactory = new Object(); -filtersFactory.CreateInstance = +filtersFactory.createInstance = function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/netwerk/base/src/nsProxyAutoConfig.js b/netwerk/base/src/nsProxyAutoConfig.js index e214f6e37c6..ff3e515393c 100644 --- a/netwerk/base/src/nsProxyAutoConfig.js +++ b/netwerk/base/src/nsProxyAutoConfig.js @@ -97,7 +97,7 @@ pacModule.canUnload = } var pacFactory = new Object(); -pacFactory.CreateInstance = +pacFactory.createInstance = function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/xpcom/components/nsIFactory.idl b/xpcom/components/nsIFactory.idl index e4b2ef94316..b18f84e741a 100644 --- a/xpcom/components/nsIFactory.idl +++ b/xpcom/components/nsIFactory.idl @@ -25,8 +25,8 @@ [scriptable, object, uuid(00000001-0000-0000-c000-000000000046)] interface nsIFactory : nsISupports { - void CreateInstance(in nsISupports aOuter, in nsIIDRef iid, + void createInstance(in nsISupports aOuter, in nsIIDRef iid, [retval, iid_is(iid)] out nsQIResult result); - void LockFactory(in PRBool lock); + void lockFactory(in PRBool lock); }; diff --git a/xpcom/sample/nsSample.js b/xpcom/sample/nsSample.js index 096fdde5ad9..b724ed57ed5 100644 --- a/xpcom/sample/nsSample.js +++ b/xpcom/sample/nsSample.js @@ -93,7 +93,7 @@ var myModule = { * know what aggregation is all about, you don't need to. It reduces * even the mightiest of XPCOM warriors to snivelling cowards.) */ - CreateInstance: function (outer, iid) { + createInstance: function (outer, iid) { dump("CI: " + iid + "\n"); if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/xpfe/components/console/jsconsole-clhandler.js b/xpfe/components/console/jsconsole-clhandler.js index 60fdc31febe..b3aa2a874f9 100644 --- a/xpfe/components/console/jsconsole-clhandler.js +++ b/xpfe/components/console/jsconsole-clhandler.js @@ -92,7 +92,7 @@ var jsConsoleHandlerModule = { /* jsConsoleHandler Class Factory */ var jsConsoleHandlerFactory = { - CreateInstance: function(outer, iid) { + createInstance: function(outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/xpfe/components/filepicker/src/nsFilePicker.js b/xpfe/components/filepicker/src/nsFilePicker.js index 2035b329fc6..8485be3ef84 100644 --- a/xpfe/components/filepicker/src/nsFilePicker.js +++ b/xpfe/components/filepicker/src/nsFilePicker.js @@ -205,7 +205,7 @@ function(compMgr) /* factory object */ filePickerFactory = new Object(); -filePickerFactory.CreateInstance = +filePickerFactory.createInstance = function (outer, iid) { debug("CI: " + iid); debug("IID:" + nsIFilePicker); diff --git a/xpfe/components/filepicker/src/nsFilePicker.js.in b/xpfe/components/filepicker/src/nsFilePicker.js.in index 2035b329fc6..8485be3ef84 100644 --- a/xpfe/components/filepicker/src/nsFilePicker.js.in +++ b/xpfe/components/filepicker/src/nsFilePicker.js.in @@ -205,7 +205,7 @@ function(compMgr) /* factory object */ filePickerFactory = new Object(); -filePickerFactory.CreateInstance = +filePickerFactory.createInstance = function (outer, iid) { debug("CI: " + iid); debug("IID:" + nsIFilePicker); diff --git a/xpfe/components/remote/src/remoteControl.js b/xpfe/components/remote/src/remoteControl.js index c5bf3099191..5c401cc3dde 100644 --- a/xpfe/components/remote/src/remoteControl.js +++ b/xpfe/components/remote/src/remoteControl.js @@ -135,7 +135,7 @@ var module = { myCID: Components.ID("{97c8d0de-1dd1-11b2-bc64-86a3aaf8f5c5}"), myFactory: { - CreateInstance: function (outer, iid) { + createInstance: function (outer, iid) { if (outer != null) throw Components.results.NS_ERROR_NO_AGGREGATION; diff --git a/xpfe/components/sidebar/src/nsSidebar.js b/xpfe/components/sidebar/src/nsSidebar.js index bd6bcc896a7..4d8a33bab16 100644 --- a/xpfe/components/sidebar/src/nsSidebar.js +++ b/xpfe/components/sidebar/src/nsSidebar.js @@ -356,7 +356,7 @@ function(compMgr) /* factory object */ sidebarFactory = new Object(); -sidebarFactory.CreateInstance = +sidebarFactory.createInstance = function (outer, iid) { debug("CI: " + iid); if (outer != null)