Closed Bug 408111 Opened 17 years ago Closed 17 years ago

nsNetscapeProfileMigratorBase::CopyCookies invokes a missing method on nsICookieManager2

Categories

(SeaMonkey :: General, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: demomaker, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.590; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b1) Gecko/2007121218 SeaMonkey/2.0a1pre

ImportCookies is not a method member of nsICookieManager2

Reproducible: Always

Steps to Reproduce:
1. build seamonkey latest cvs
2.
3.
Actual Results:  
fails to  compile

Expected Results:  
compiles

#if 0
  nsresult rv;
  nsCOMPtr<nsICookieManager2> cookieManager(do_GetService(NS_COOKIEMANAGER_CONTRACTID, &rv));
  if (NS_FAILED(rv)) 
    return rv;

  nsCOMPtr<nsIFile> seamonkeyCookiesFile;
  mSourceProfile->Clone(getter_AddRefs(seamonkeyCookiesFile));
  seamonkeyCookiesFile->AppendNative(NS_LITERAL_CSTRING(FILE_NAME_COOKIES));

  return cookieManager->ImportCookies(seamonkeyCookiesFile);
#else
	return PR_FALSE;
	
#endif

as a workaround to get seamonkey built
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → WORKSFORME
FIREFOX_3_0b1_RELEASE branch was used
Resolution: WORKSFORME → INCOMPLETE
Incomplete is for incomplete bugs. Worksforme is the proper solution in this case.
Resolution: INCOMPLETE → WORKSFORME
You need to log in before you can comment on or make changes to this bug.