NS_INIT_REFCNT(); mHistoryIndex = -1; mScrollPref = nsScrollPreference_kAuto; mScriptGlobal = nsnull; mScriptContext = nsnull; mThreadEventQueue = nsnull; InitFrameData(PR_TRUE); mIsFrame = PR_FALSE; mWebShellType = nsWebShellContent; mChromeShell = nsnull; mSHist = nsnull; mIsInSHist = PR_FALSE; mDefaultCharacterSet = ""; mProcessedEndDocumentLoad = PR_FALSE; mHintCharset = ""; mHintCharsetSource = kCharsetUninitialized; mForceCharacterSet = ""; mHistoryService = nsnull; #ifdef NECKO mPrompter = nsnull; #else mNetSupport = nsnull;
nsWebShell::nsWebShell(){  NS_INIT_REFCNT();  mHistoryIndex = -1;  mScrollPref = nsScrollPreference_kAuto;  mScriptGlobal = nsnull;  mScriptContext = nsnull;	mThreadEventQueue = nsnull;  InitFrameData(PR_TRUE);  mIsFrame = PR_FALSE;	mWebShellType = nsWebShellContent;  mChromeShell = nsnull;  mSHist = nsnull;  mIsInSHist = PR_FALSE;  mDefaultCharacterSet = "";  mProcessedEndDocumentLoad = PR_FALSE;  mHintCharset = "";  mHintCharsetSource = kCharsetUninitialized;  mForceCharacterSet = "";  mHistoryService = nsnull;#ifdef NECKO  mPrompter = nsnull;#else  mNetSupport = nsnull;#endif}