bug 1341186 don't treat synth mouse moves as pending user input r=bz
authorKarl Tomlinson <karlt+@karlt.net>
Mon, 13 Feb 2017 15:08:14 +1300
changeset 361725 9d84b3d85bbcad165660eb149744b260b2108862
parent 361724 30a1c114fe232099815361fbef331468abf44041
child 361726 843cd9454b8e37200471827f192e3a406c126b69
push id31939
push usercbook@mozilla.com
push dateThu, 01 Jun 2017 11:49:28 +0000
treeherdermozilla-central@d96110d76619 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1341186
milestone55.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 1341186 don't treat synth mouse moves as pending user input r=bz Synth mouse move events are triggered by layout changes, which should not interrupt reflow. MozReview-Commit-ID: 5VFJFOXH3BB
widget/PuppetWidget.cpp
--- a/widget/PuppetWidget.cpp
+++ b/widget/PuppetWidget.cpp
@@ -1420,17 +1420,16 @@ PuppetWidget::HasPendingInputEvent()
   bool ret = false;
 
   mTabChild->GetIPCChannel()->PeekMessages(
     [&ret](const IPC::Message& aMsg) -> bool {
       if ((aMsg.type() & mozilla::dom::PBrowser::PBrowserStart)
           == mozilla::dom::PBrowser::PBrowserStart) {
         switch (aMsg.type()) {
           case mozilla::dom::PBrowser::Msg_RealMouseMoveEvent__ID:
-          case mozilla::dom::PBrowser::Msg_SynthMouseMoveEvent__ID:
           case mozilla::dom::PBrowser::Msg_RealMouseButtonEvent__ID:
           case mozilla::dom::PBrowser::Msg_RealKeyEvent__ID:
           case mozilla::dom::PBrowser::Msg_MouseWheelEvent__ID:
           case mozilla::dom::PBrowser::Msg_RealTouchEvent__ID:
           case mozilla::dom::PBrowser::Msg_RealTouchMoveEvent__ID:
           case mozilla::dom::PBrowser::Msg_RealDragEvent__ID:
           case mozilla::dom::PBrowser::Msg_UpdateDimensions__ID:
           case mozilla::dom::PBrowser::Msg_MouseEvent__ID: