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
parent 07b5dbddf7
commit 9fa4b16fc0
2 changed files with 2 additions and 2 deletions

View File

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

View File

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