if (mDirty) { GetOptions(); }
nsHTMLOptionCollection::SetSelectedIndex(PRInt32 aSelectedIndex){  NS_ENSURE_TRUE(mSelect, NS_ERROR_UNEXPECTED);  if (mDirty) {    GetOptions();  }  return mSelect->SetSelectedIndex(aSelectedIndex);}