Rename fire_simple_event_params to fire_event

Fixes #9180.
This commit is contained in:
Brandon Fairchild 2016-01-07 13:49:49 -05:00
parent 72ecbbe221
commit fb0304cfdb
5 changed files with 33 additions and 30 deletions

View file

@ -866,14 +866,14 @@ impl Activatable for HTMLInputElement {
let win = window_from_node(self);
let target = self.upcast::<EventTarget>();
target.fire_simple_event_params("input",
EventBubbles::Bubbles,
EventCancelable::NotCancelable,
GlobalRef::Window(win.r()));
target.fire_simple_event_params("change",
EventBubbles::Bubbles,
EventCancelable::NotCancelable,
GlobalRef::Window(win.r()));
target.fire_event("input",
EventBubbles::Bubbles,
EventCancelable::NotCancelable,
GlobalRef::Window(win.r()));
target.fire_event("change",
EventBubbles::Bubbles,
EventCancelable::NotCancelable,
GlobalRef::Window(win.r()));
}
},
_ => ()