auto merge of #4374 : thiagopnts/servo/dispatch-event, r=Ms2ger

servo/pull/4369 with the right commit.
This commit is contained in:
bors-servo 2014-12-16 06:36:47 -07:00
commit 746b262ff4
7 changed files with 21 additions and 15 deletions

View file

@ -1070,7 +1070,7 @@ impl ScriptTask {
let event: JSRef<Event> = EventCast::from_ref(*uievent);
let wintarget: JSRef<EventTarget> = EventTargetCast::from_ref(*window);
let _ = wintarget.dispatch_event_with_target(None, event);
wintarget.dispatch_event(event);
}
None => ()
}