Bug 1397161 - Remove assert(mIsMouseEnterIntoWidgetEventSuppressed) when sending eMouseExitFromWidget to remote. r=smaug
authorStone Shih <sshih@mozilla.com>
Wed, 06 Sep 2017 10:27:52 +0800
changeset 428857 0da4bb3c477c4f27ea7f3dc7a389fa6b83147fe9
parent 428856 6b0b2d0e08aae0baa13dc198ad14c4ea051c11df
child 428858 c5412efabadb8810f8e527cae0d410b6baabec39
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1397161
milestone57.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 1397161 - Remove assert(mIsMouseEnterIntoWidgetEventSuppressed) when sending eMouseExitFromWidget to remote. r=smaug
dom/ipc/TabParent.cpp
--- a/dom/ipc/TabParent.cpp
+++ b/dom/ipc/TabParent.cpp
@@ -1138,17 +1138,16 @@ TabParent::SendRealMouseEvent(WidgetMous
       mTabSetsCursor = false;
     }
   }
   if (!mIsReadyToHandleInputEvents) {
     if (eMouseEnterIntoWidget == aEvent.mMessage) {
       MOZ_ASSERT(!mIsMouseEnterIntoWidgetEventSuppressed);
       mIsMouseEnterIntoWidgetEventSuppressed = true;
     } else if (eMouseExitFromWidget == aEvent.mMessage) {
-      MOZ_ASSERT(mIsMouseEnterIntoWidgetEventSuppressed);
       mIsMouseEnterIntoWidgetEventSuppressed = false;
     }
     return;
   }
 
   ScrollableLayerGuid guid;
   uint64_t blockId;
   ApzAwareEventRoutingToChild(&guid, &blockId, nullptr);