remove some debugging statements

This commit is contained in:
alecf%netscape.com 1999-04-16 22:19:13 +00:00
parent 7aec829ec9
commit 6323b72687
2 changed files with 0 additions and 7 deletions

View File

@ -57,7 +57,6 @@ nsMessengerNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
nsresult rv = NS_OK;
JSContext *cx = (JSContext*)aScriptContext->GetNativeContext();
printf("nsMessengerNameSet::InitializeClasses() Initializing base classes\n");
/* initialize the AppCore */
NS_InitMsgAppCoreClass(aScriptContext, nsnull);
@ -78,12 +77,10 @@ nsMessengerNameSet::AddNameSet(nsIScriptContext *aScriptContext)
nsresult rv = NS_OK;
nsIScriptNameSpaceManager *manager;
printf("nsMessengerNameSet::AddNameSet() Registering Messenger in the JS namespace\n");
rv = aScriptContext->GetNameSpaceManager(&manager);
if (NS_SUCCEEDED(rv))
rv = manager->RegisterGlobalName("Messenger",
// put the CID here, not IID
kCMessengerCID,
PR_TRUE);

View File

@ -57,8 +57,6 @@ nsComposerNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
nsresult rv = NS_OK;
JSContext *cx = (JSContext*)aScriptContext->GetNativeContext();
printf("nsComposerNameSet::InitializeClasses() Initializing base classes\n");
/* initialize the AppCore */
NS_InitComposeAppCoreClass(aScriptContext, nsnull);
@ -78,12 +76,10 @@ nsComposerNameSet::AddNameSet(nsIScriptContext *aScriptContext)
nsresult rv = NS_OK;
nsIScriptNameSpaceManager *manager;
printf("nsComposerNameSet::AddNameSet() Registering Composer in the JS namespace\n");
rv = aScriptContext->GetNameSpaceManager(&manager);
if (NS_SUCCEEDED(rv))
rv = manager->RegisterGlobalName("Composer",
// put the CID here, not IID
kCComposerCID,
PR_TRUE);