Backing out Bug 127277. (Smoktests not finished) accValue incorrect return values. r=jgaunt, sr=hewitt, a=shaver

This commit is contained in:
aaronl%netscape.com 2002-02-28 18:18:39 +00:00
Родитель a88048e70f
Коммит eb2bcd551f
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -264,7 +264,7 @@ NS_IMETHODIMP nsLinkableAccessible::GetAccValue(nsAWritableString& _retval)
if (elt)
return elt->GetAttribute(NS_LITERAL_STRING("href"), _retval);
}
return NS_ERROR_NOT_IMPLEMENTED;
return NS_ERROR_FAILURE;
}
@ -284,9 +284,8 @@ NS_IMETHODIMP nsLinkableAccessible::GetAccActionName(PRUint8 index, nsAWritableS
nsAccessible::GetTranslatedString(NS_LITERAL_STRING("jump"), _retval);
return NS_OK;
}
return NS_ERROR_NOT_IMPLEMENTED;
}
return NS_ERROR_INVALID_ARG;
return NS_ERROR_FAILURE;
}
/* void accDoAction (in PRUint8 index); */
@ -323,7 +322,7 @@ NS_IMETHODIMP nsLinkableAccessible::AccDoAction(PRUint8 index)
}
}
}
return NS_ERROR_INVALID_ARG;
return NS_ERROR_FAILURE;
}