NS_ASSERTION(!mInnerWindow || !mInnerWindow->mContext, "Potentially leaking the inner window's JS object and document");
nsTimeout *timeout = mSavedTimeouts; while (timeout) { nsTimeout *next = timeout->mNext; NS_ASSERTION(!timeout->mTimer, "live timer in a saved window state"); timeout->Release(nsnull); timeout = next; }  ::JS_RemoveRootRT(mRuntime, &mJSObj);
WindowStateHolder::~WindowStateHolder(){  NS_ASSERTION(!mInnerWindow || !mInnerWindow->mContext,               "Potentially leaking the inner window's JS object and document");}