nsNetscapeProfileMigratorBase::CopyCookies invokes a missing method on nsICookieManager2

RESOLVED WORKSFORME

Status

--
major
RESOLVED WORKSFORME
11 years ago
11 years ago

People

(Reporter: demomaker, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
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
(Reporter)

Updated

11 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
OS: Windows XP → All
Hardware: PC → All
Resolution: --- → WORKSFORME
(Reporter)

Comment 1

11 years ago
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.