mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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
|
@ -427,7 +427,8 @@ impl EventTarget {
|
|||
// Step 1.8.2
|
||||
unsafe {
|
||||
let _ac = JSAutoCompartment::new(cx, self.reflector().get_jsobject().get());
|
||||
report_pending_exception(cx);
|
||||
// FIXME(#13152): dispatch error event.
|
||||
report_pending_exception(cx, false);
|
||||
}
|
||||
// Step 1.8.1 / 1.8.3
|
||||
return None;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue