Backed out changeset 86fe93b28b17 (bug 1256952) for bustage
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Tue, 12 Apr 2016 12:00:31 +0200
changeset 325800 39fe246bce0f76238e7de110ad607e0019ce0550
parent 325799 4f524a974b08902305ece5c986806eeff8471eb0
child 325801 ddc3d06e090a2e5181d0ed29d0b9048556768dab
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1256952
milestone47.0a2
backs out86fe93b28b17a32934b874bfe963b47e322a80cf
Backed out changeset 86fe93b28b17 (bug 1256952) for bustage
dom/events/EventStateManager.cpp
--- a/dom/events/EventStateManager.cpp
+++ b/dom/events/EventStateManager.cpp
@@ -4532,23 +4532,16 @@ EventStateManager::FireDragEnterOrExit(n
         aMessage == eDragEnter) {
       UpdateDragDataTransfer(&event);
     }
   }
 
   // Finally dispatch the event to the frame
   if (aTargetFrame)
     aTargetFrame->HandleEvent(aPresContext, &event, &status);
-
-  if (aMessage == eDragExit && IsRemoteTarget(aTargetContent)) {
-    nsEventStatus status = nsEventStatus_eIgnore;
-    WidgetDragEvent remoteEvent(aDragEvent->IsTrusted(), aMessage, aDragEvent->widget);
-    remoteEvent.AssignDragEventData(*aDragEvent, true);
-    HandleCrossProcessEvent(&remoteEvent, &status);
-  }
 }
 
 void
 EventStateManager::UpdateDragDataTransfer(WidgetDragEvent* dragEvent)
 {
   NS_ASSERTION(dragEvent, "drag event is null in UpdateDragDataTransfer!");
   if (!dragEvent->dataTransfer)
     return;