Backed out changeset ce11eadad118 (bug 1116821) for suspicion of making Android debug reftests frequent crash mid-run.

CLOSED TREE

--HG--
extra : rebase_source : e2050f4d54fa02a6e3d1507a13fe91419e420b77
This commit is contained in:
Ryan VanderMeulen 2015-01-07 16:17:22 -05:00
parent fe6a2e21b2
commit 7911926e44

View File

@ -2699,6 +2699,7 @@ nsGlobalWindow::SetNewDocument(nsIDocument* aDocument,
newInnerWindow->mChromeEventHandler = mChromeEventHandler;
}
nsJSContext::PokeGC(JS::gcreason::SET_NEW_DOCUMENT);
mContext->DidInitializeContext();
// We wait to fire the debugger hook until the window is all set up and hooked