From 130caf11f020ff3fb2bb3843ee41791b61205fbf Mon Sep 17 00:00:00 2001 From: "harishd%netscape.com" Date: Fri, 26 May 2000 19:45:32 +0000 Subject: [PATCH] Added DumpContent() triggered by parser [ for regression test ]. r=rickg a=rickg --- content/base/public/nsIContent.h | 7 +++++++ layout/base/public/nsIContent.h | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/content/base/public/nsIContent.h b/content/base/public/nsIContent.h index f59fdfcdd47a..f98e86a02502 100644 --- a/content/base/public/nsIContent.h +++ b/content/base/public/nsIContent.h @@ -258,6 +258,13 @@ public: */ NS_IMETHOD List(FILE* out = stdout, PRInt32 aIndent = 0) const = 0; + /** + * Dump the content (and anything it contains) out to the given + * file stream. Use aIndent as the base indent during formatting. + * Returns NS_OK unless a file error occurs. + */ + NS_IMETHOD DumpContent(FILE* out = stdout, PRInt32 aIndent = 0,PRBool aDumpAll=PR_TRUE) const = 0; + /** * Translate the content object into the (XIF) XML Interchange Format * XIF is an intermediate form of the content model, the buffer diff --git a/layout/base/public/nsIContent.h b/layout/base/public/nsIContent.h index f59fdfcdd47a..f98e86a02502 100644 --- a/layout/base/public/nsIContent.h +++ b/layout/base/public/nsIContent.h @@ -258,6 +258,13 @@ public: */ NS_IMETHOD List(FILE* out = stdout, PRInt32 aIndent = 0) const = 0; + /** + * Dump the content (and anything it contains) out to the given + * file stream. Use aIndent as the base indent during formatting. + * Returns NS_OK unless a file error occurs. + */ + NS_IMETHOD DumpContent(FILE* out = stdout, PRInt32 aIndent = 0,PRBool aDumpAll=PR_TRUE) const = 0; + /** * Translate the content object into the (XIF) XML Interchange Format * XIF is an intermediate form of the content model, the buffer