mIsFrame = PR_FALSE;
mItemType = typeContent; mCharsetReloadState = eCharsetReloadInit; mHistoryState = nsnull; mBounds.SetRect(0, 0, 0, 0);
nsWebShell::nsWebShell(){  NS_INIT_REFCNT();  mHistoryIndex = -1;  mScrollPref = nsScrollPreference_kAuto;  mScriptGlobal = nsnull;  mScriptContext = nsnull;  mURLListener = nsnull;  InitFrameData();  mIsFrame = PR_FALSE;}