Hi,
I've declared a new function in nsIContentSecurityPolicy.idl:
AString getMyString();
I call this function from nsScriptLoader::ProcessScriptElement:
nsresult myRV = NS_OK;
nsCOMPtr<nsIContentSecurityPolicy> myCSP;
myRV = mDocument->NodePrincipal()->GetCsp(getter_AddRefs(myCSP));
NS_ENSURE_SUCCESS(myRV, false);
if (myCSP) {
nsAutoString myString = myCSP->GetMyString();
When I try to compile this I get an error c2660 function does not take 0
arguments. This seems weird to me as my declaration doesn't expect an argument?
Regards,
Jeremy
_______________________________________________
dev-security mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-security