nsCOMPtr<nsIWebProgressListener> dummy = new nsWebProgressListener; aLauncher->SetWebProgressListener( dummy );  return rv; }
nsCOMPtr<nsIDOMWindowInternal> parent( do_GetInterface( aContext ) ); if ( parent ) {  nsCOMPtr<nsIScriptGlobalObject> sgo = do_QueryInterface( parent, &rv ); if ( NS_SUCCEEDED( rv ) && sgo ) { nsCOMPtr<nsIScriptContext> context; sgo->GetContext( getter_AddRefs( context ) ); if ( context ) {  JSContext *jsContext = (JSContext*)context->GetNativeContext(); if ( jsContext ) {  void *stackPtr; jsval *argv = JS_PushArguments( jsContext, &stackPtr, "sss%ip", "chrome: "_blank", "chrome,titlebar", (const nsIID*)(&NS_GET_IID(nsIHelperAppLauncher)), (nsISupports*)aLauncher ); if ( argv ) {  nsCOMPtr<nsIDOMWindowInternal> dialog; rv = parent->OpenDialog( jsContext, argv, 4, getter_AddRefs( dialog ) );  JS_PopArguments( jsContext, stackPtr ); } } } } } return rv; }
NS_IMETHODIMP nsUnknownContentTypeHandler::ShowProgressDialog(nsIHelperAppLauncher *aLauncher, nsISupports *aContext ) {	nsresult rv = NS_OK;/* ATENTIE */ //printf("ShowProgressDialog!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n\n\n");	/* we need a dummy listener because the nsExternalAppHandler class verifies that a progress window has been displayed */	nsCOMPtr<nsIWebProgressListener> dummy = new nsWebProgressListener;	aLauncher->SetWebProgressListener( dummy );	return rv;	}