Bug 959391 - Remove hard to debug assert. r=jdm
authorGregor Wagner <anygregor@gmail.com>
Tue, 28 Jan 2014 17:15:29 -0500
changeset 182664 7454b84dea9e637642dcf606bd34b2eece3dd4ee
parent 182663 22f37258b0cfd338f14147b0dbd2e40fd48ade25
child 182665 6df2988ebe202eb700ee9442c49c70d7ecd15597
push id462
push userraliiev@mozilla.com
push dateTue, 22 Apr 2014 00:22:30 +0000
treeherdermozilla-release@ac5db8c74ac0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdm
bugs959391
milestone29.0a1
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
Bug 959391 - Remove hard to debug assert. r=jdm
netwerk/ipc/NeckoCommon.h
--- a/netwerk/ipc/NeckoCommon.h
+++ b/netwerk/ipc/NeckoCommon.h
@@ -118,22 +118,16 @@ UsingNeckoIPCSecurity()
   return !NeckoCommonInternal::gSecurityDisabled;
 }
 
 inline bool
 MissingRequiredTabChild(mozilla::dom::TabChild* tabChild,
                         const char* context)
 {
   if (UsingNeckoIPCSecurity()) {
-    // Bug 833935: during navigation away from page some loads may lack
-    // TabParent: we don't want to kill browser for that.  Doesn't happen in
-    // test harness, so fail in debug mode so we can catch new code that fails
-    // to pass security info.
-    MOZ_ASSERT(tabChild);
-
     if (!tabChild) {
       printf_stderr("WARNING: child tried to open %s IPDL channel w/o "
                     "security info\n", context);
       return true;
     }
   }
   return false;
 }