mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Dispatch error events at the window object.
This commit is contained in:
parent
92c3961743
commit
ae38c53de7
737 changed files with 815 additions and 758 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue