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

@ -530,10 +530,10 @@ impl Runnable for CloseTask {
ws.full.set(false);
//A Bad close
ws.clean_close.set(false);
ws.upcast().fire_simple_event_params("error",
EventBubbles::DoesNotBubble,
EventCancelable::Cancelable,
global.r());
ws.upcast().fire_event("error",
EventBubbles::DoesNotBubble,
EventCancelable::Cancelable,
global.r());
}
let reason = ws.reason.borrow().clone();
/*In addition, we also have to fire a close even if error event fired