kIScriptObjectOwnerIID,
NS_GET_IID(nsIScriptObjectOwner),
LayoutScriptNameSet::AddNameSet(nsIScriptContext* aScriptContext){  nsresult result = NS_OK;  nsIScriptNameSpaceManager* manager;  static NS_DEFINE_IID(kHTMLImageElementCID, NS_HTMLIMAGEELEMENT_CID);  static NS_DEFINE_IID(kHTMLOptionElementCID, NS_HTMLOPTIONELEMENT_CID);  static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);  result = aScriptContext->GetNameSpaceManager(&manager);  if (NS_OK == result) {    result = manager->RegisterGlobalName(NS_ConvertToString("HTMLImageElement"),                                         kIScriptObjectOwnerIID,                                         kHTMLImageElementCID,                                         PR_TRUE);    if (NS_FAILED(result)) {      NS_RELEASE(manager);      return result;    }    result = manager->RegisterGlobalName(NS_ConvertToString("HTMLOptionElement"),                                         kIScriptObjectOwnerIID,                                         kHTMLOptionElementCID,                                         PR_TRUE);    if (NS_FAILED(result)) {      NS_RELEASE(manager);      return result;    }            NS_RELEASE(manager);  }    return result;}