From 9fa4b16fc0977b9ee3368b5421523afa36986fe0 Mon Sep 17 00:00:00 2001 From: "akkana%netscape.com" Date: Tue, 8 Dec 1998 19:53:25 +0000 Subject: [PATCH] GetOwnerDocument should return NS_ERROR_NOT_IMPLEMENTED if it's not going to modify its input --- content/base/src/nsGenericElement.cpp | 2 +- layout/base/src/nsGenericElement.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/base/src/nsGenericElement.cpp b/content/base/src/nsGenericElement.cpp index 70db612ef23d..42473a9be46f 100644 --- a/content/base/src/nsGenericElement.cpp +++ b/content/base/src/nsGenericElement.cpp @@ -287,7 +287,7 @@ NS_IMETHODIMP nsDOMAttribute::GetOwnerDocument(nsIDOMDocument** aOwnerDocument) { // XXX TBI - return NS_OK; + return NS_ERROR_NOT_IMPLEMENTED; } //---------------------------------------------------------------------- diff --git a/layout/base/src/nsGenericElement.cpp b/layout/base/src/nsGenericElement.cpp index 70db612ef23d..42473a9be46f 100644 --- a/layout/base/src/nsGenericElement.cpp +++ b/layout/base/src/nsGenericElement.cpp @@ -287,7 +287,7 @@ NS_IMETHODIMP nsDOMAttribute::GetOwnerDocument(nsIDOMDocument** aOwnerDocument) { // XXX TBI - return NS_OK; + return NS_ERROR_NOT_IMPLEMENTED; } //----------------------------------------------------------------------