Fixes for 27010, 32878, and 32948.

git-svn-id: svn://10.0.0.236/trunk@67181 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mstoltz%netscape.com
2000-04-26 03:50:07 +00:00
parent 53f13b1aba
commit 1aebd93c62
24 changed files with 685 additions and 439 deletions

View File

@@ -44,7 +44,6 @@ NSBASEPRINCIPALS_RELEASE(nsSystemPrincipal);
NS_IMETHODIMP
nsSystemPrincipal::ToString(char **result)
{
// STRING USE WARNING: perhaps |buf| should be an |nsCAutoString|? -- scc
nsAutoString buf;
buf.AssignWithConversion("[System]");
@@ -58,6 +57,13 @@ nsSystemPrincipal::ToUserVisibleString(char **result)
return ToString(result);
}
NS_IMETHODIMP
nsSystemPrincipal::ToStreamambleForm(char** aName, char** aData)
{
// The system principal should never be streamed out
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP
nsSystemPrincipal::Equals(nsIPrincipal *other, PRBool *result)
{
@@ -117,14 +123,6 @@ nsSystemPrincipal::DisableCapability(const char *capability, void **annotation)
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP
nsSystemPrincipal::Save(nsSupportsHashtable* aPrincipals, nsIPref* prefs)
{
// The system principal should never be streamed out
return NS_ERROR_FAILURE;
}
/////////////////////////////////////////////
// Constructor, Destructor, initialization //
/////////////////////////////////////////////