Backed out changeset ce11eadad118 (bug 1116821) for suspicion of making Android debug reftests frequent crash mid-run.
authorRyan VanderMeulen <ryanvm@gmail.com>
Wed, 07 Jan 2015 16:17:22 -0500
changeset 248364 58767ba4867e170256a7b50593ac04641d91a912
parent 248363 0962698c14a0458765a2774f16b7ae3abeb1bfb8
child 248365 70de2960aa877d7755ee6f66bf2d4c4c46bfed2c
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1116821
milestone37.0a1
backs outce11eadad118cd036d1a6e62c38d9d2397b74df9
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset ce11eadad118 (bug 1116821) for suspicion of making Android debug reftests frequent crash mid-run. CLOSED TREE
dom/base/nsGlobalWindow.cpp
--- a/dom/base/nsGlobalWindow.cpp
+++ b/dom/base/nsGlobalWindow.cpp
@@ -2694,16 +2694,17 @@ nsGlobalWindow::SetNewDocument(nsIDocume
       mArguments = nullptr;
     }
 
     // Give the new inner window our chrome event handler (since it
     // doesn't have one).
     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
   // up with the outer. See bug 969156.
   if (createdInnerWindow) {
     // AutoEntryScript required to invoke debugger hook, which is a
     // Gecko-specific concept at present.
     AutoEntryScript aes(newInnerWindow);