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

@ -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;