Backed out changeset c1544abd34c2 (bug 1340903) for frequent failure of docshell/test/unit/test_setUsePrivateBrowsing.js on Linux opt and pgo. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Wed, 22 Feb 2017 09:59:29 +0100
changeset 344172 8a1a04cf1bc7c25a72694640fa772913e10459a4
parent 344171 f0886e3477a5a510329d2f97137e1fcac3446bf0
child 344173 d931cdfe0da3e6134e3398246c9b95a46eda61ae
push id87290
push userarchaeopteryx@coole-files.de
push dateWed, 22 Feb 2017 09:03:30 +0000
treeherdermozilla-inbound@b593e365b72d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1340903
milestone54.0a1
backs outc1544abd34c28bc2ec4abe1b970a85ca4d163f43
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 c1544abd34c2 (bug 1340903) for frequent failure of docshell/test/unit/test_setUsePrivateBrowsing.js on Linux opt and pgo. r=backout
accessible/ipc/DocAccessibleParent.cpp
--- a/accessible/ipc/DocAccessibleParent.cpp
+++ b/accessible/ipc/DocAccessibleParent.cpp
@@ -422,21 +422,17 @@ DocAccessibleParent::AddChildDoc(DocAcce
   ProxyAccessible* outerDoc = e->mProxy;
   MOZ_ASSERT(outerDoc);
 
   // OuterDocAccessibles are expected to only have a document as a child.
   // However for compatibility we tolerate replacing one document with another
   // here.
   if (outerDoc->ChildrenCount() > 1 ||
       (outerDoc->ChildrenCount() == 1 && !outerDoc->ChildAt(0)->IsDoc())) {
-#ifdef DEBUG
     return IPC_FAIL(this, "binding to proxy that can't be a outerDoc!");
-#else
-    return IPC_OK();
-#endif
   }
 
   aChildDoc->SetParent(outerDoc);
   outerDoc->SetChildDoc(aChildDoc);
   mChildDocs.AppendElement(aChildDoc->IProtocol::Id());
   aChildDoc->mParentDoc = IProtocol::Id();
 
   if (aCreating) {