GetOwnerDocument should return NS_ERROR_NOT_IMPLEMENTED if it's not going to modify its input

This commit is contained in:
akkana%netscape.com 1998-12-08 19:53:25 +00:00
Родитель 07b5dbddf7
Коммит 9fa4b16fc0
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -287,7 +287,7 @@ NS_IMETHODIMP
nsDOMAttribute::GetOwnerDocument(nsIDOMDocument** aOwnerDocument) nsDOMAttribute::GetOwnerDocument(nsIDOMDocument** aOwnerDocument)
{ {
// XXX TBI // XXX TBI
return NS_OK; return NS_ERROR_NOT_IMPLEMENTED;
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------

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

@ -287,7 +287,7 @@ NS_IMETHODIMP
nsDOMAttribute::GetOwnerDocument(nsIDOMDocument** aOwnerDocument) nsDOMAttribute::GetOwnerDocument(nsIDOMDocument** aOwnerDocument)
{ {
// XXX TBI // XXX TBI
return NS_OK; return NS_ERROR_NOT_IMPLEMENTED;
} }
//---------------------------------------------------------------------- //----------------------------------------------------------------------