Bug 1256952, revert this bug, r=me, a=ritu
authorNeil Deakin <neil@mozilla.com>
Fri, 29 Apr 2016 19:42:41 -0400
changeset 332634 1347c189b6da67d2142fb266c82f74272b09139b
parent 332633 7c17eb91821968d66808c032fb3f38885d0dedda
child 332635 d9dd19cd2a03ac82637f0ff2972934a3b7f77d8d
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme, ritu
bugs1256952
milestone48.0a2
Bug 1256952, revert this bug, r=me, a=ritu
dom/events/EventStateManager.cpp
--- a/dom/events/EventStateManager.cpp
+++ b/dom/events/EventStateManager.cpp
@@ -4502,24 +4502,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->mWidget);
-    remoteEvent.AssignDragEventData(*aDragEvent, true);
-    HandleCrossProcessEvent(&remoteEvent, &status);
-  }
 }
 
 void
 EventStateManager::UpdateDragDataTransfer(WidgetDragEvent* dragEvent)
 {
   NS_ASSERTION(dragEvent, "drag event is null in UpdateDragDataTransfer!");
   if (!dragEvent->mDataTransfer) {
     return;