Dispatch error events at the window object.

This commit is contained in:
Ms2ger 2016-08-27 16:17:37 +02:00
parent 92c3961743
commit ae38c53de7
737 changed files with 815 additions and 758 deletions

View file

@ -191,7 +191,7 @@ impl<'a> Drop for CallSetup<'a> {
JS_LeaveCompartment(self.cx, self.old_compartment);
if self.handling == ExceptionHandling::Report {
let _ac = JSAutoCompartment::new(self.cx, *self.exception_compartment);
report_pending_exception(self.cx);
report_pending_exception(self.cx, true);
}
}
}