From e8157d4857bb14644e9dcbcb6b3c082663edf29d Mon Sep 17 00:00:00 2001 From: "kipp%netscape.com" Date: Mon, 27 Jul 1998 23:01:06 +0000 Subject: [PATCH] Added max-pages --- webshell/tests/viewer/nsWebCrawler.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webshell/tests/viewer/nsWebCrawler.h b/webshell/tests/viewer/nsWebCrawler.h index 9b828325bc3..13e36fc8c9b 100644 --- a/webshell/tests/viewer/nsWebCrawler.h +++ b/webshell/tests/viewer/nsWebCrawler.h @@ -84,6 +84,10 @@ public: mRecord = aFile; } + void SetMaxPages(PRInt32 aMax) { + mMaxPages = aMax; + } + void LoadNextURL(); protected: @@ -110,6 +114,7 @@ protected: PRBool mJiggleLayout; PRBool mPostExit; PRInt32 mDelay; + PRInt32 mMaxPages; nsVoidArray mPendingURLs; nsVoidArray mSafeDomains;