reg->AllowScriptsForSkin(uri, &allow);
reg->AllowScriptsForPackage(uri, &allow);
    mBindingTable(nsnull){  nsIURI* uri = aDocument->GetDocumentURI();  if (IsChromeOrResourceURI(uri)) {    // Cache whether or not this chrome XBL can execute scripts.    nsCOMPtr<nsIXULChromeRegistry> reg(do_GetService(NS_CHROMEREGISTRY_CONTRACTID));    if (reg) {      PRBool allow = PR_TRUE;      reg->AllowScriptsForSkin(uri, &allow);      SetScriptAccess(allow);    }  }}