Bug 1264073 - Remove assertion in SharedMemoryBasic that we didn't initialise fast enough. r=billm, a=NPOTB
authorGeorge Wright <george@mozilla.com>
Fri, 21 Oct 2016 12:53:00 -0400
changeset 356289 9380aee9964b36bbce866f1f114e85f5455a7e65
parent 356288 a6447a37d3e1c4a5327c236ff605ff2d46c33b38
child 356290 127130680c1d87fce89b2e83bf48900b86b2a1cf
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbillm, NPOTB
bugs1264073
milestone51.0a2
Bug 1264073 - Remove assertion in SharedMemoryBasic that we didn't initialise fast enough. r=billm, a=NPOTB
ipc/glue/SharedMemoryBasic_mach.mm
--- a/ipc/glue/SharedMemoryBasic_mach.mm
+++ b/ipc/glue/SharedMemoryBasic_mach.mm
@@ -615,17 +615,16 @@ SharedMemoryBasic::ShareToProcess(base::
   if (err != KERN_SUCCESS) {
     LOG_ERROR("sending port failed %s %x\n", mach_error_string(err), err);
     return false;
   }
   MachReceiveMessage msg;
   err = ports->mReceiver->WaitForMessage(&msg, kTimeout);
   if (err != KERN_SUCCESS) {
     LOG_ERROR("short timeout didn't get an id %s %x\n", mach_error_string(err), err);
-    MOZ_ASSERT(false, "Receiver message short time out");
     err = ports->mReceiver->WaitForMessage(&msg, kLongTimeout);
 
     if (err != KERN_SUCCESS) {
       LOG_ERROR("long timeout didn't get an id %s %x\n", mach_error_string(err), err);
       return false;
     }
   }
   if (msg.GetDataLength() != sizeof(SharePortsReply)) {