mProcessedEndDocumentLoad = PR_FALSE;
nsWebShell::nsWebShell(){  NS_INIT_REFCNT();  mHistoryIndex = -1;  mScrollPref = nsScrollPreference_kAuto;  mScriptGlobal = nsnull;  mScriptContext = nsnull;  InitFrameData(PR_TRUE);  mIsFrame = PR_FALSE;	mWebShellType = nsWebShellContent;  // XXX we should get such mDefaultCharacterSet from pref laster...  mDefaultCharacterSet = "ISO-8859-1";}