зеркало из https://github.com/mozilla/gecko-dev.git
Bug 304003 Bfcache does not work anymore
patch by biesi r=bryner sr=smfr a=chase
This commit is contained in:
Родитель
9f6a73b9bb
Коммит
8ce85b83a1
|
@ -174,7 +174,7 @@ static PRInt32 gRunningTimeoutDepth = 0;
|
|||
PRInt32 gTimeoutCnt = 0;
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_bryner
|
||||
#if defined(DEBUG_bryner) || defined(DEBUG_chb)
|
||||
#define DEBUG_PAGE_CACHE
|
||||
#endif
|
||||
|
||||
|
@ -6607,7 +6607,7 @@ nsGlobalWindow::SaveWindowState(nsISupports **aState)
|
|||
printf("saving window state, stateObj = %p\n", (void*)stateObj);
|
||||
#endif
|
||||
nsresult rv = CopyJSProperties(cx, mJSObject, stateObj);
|
||||
NS_ENSURE_TRUE(rv, rv);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
state.swap(*aState);
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче