nsresult rv; nsCOMPtr<nsIXBLService> xblService(do_GetService("component: if (xblService) { PRBool allowScripts; xblService->AllowScripts(mBinding, &allowScripts); return allowScripts; }  return PR_FALSE;
PRBool result; mPrototypeBinding->GetAllowScripts(&result); return result;
nsXBLBinding::AllowScripts(){  nsresult rv;  nsCOMPtr<nsIXBLService> xblService(do_GetService("component://netscape/xbl", &rv));  if (xblService) {    PRBool allowScripts;    xblService->AllowScripts(mBinding, &allowScripts);    return allowScripts;  }  return PR_FALSE;}