mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Remove unneeded comments about suppressed errors. (#33612)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
c76524e63b
commit
d7da0563d3
1 changed files with 3 additions and 12 deletions
|
@ -754,10 +754,7 @@ impl Document {
|
||||||
);
|
);
|
||||||
let event = event.upcast::<Event>();
|
let event = event.upcast::<Event>();
|
||||||
event.set_trusted(true);
|
event.set_trusted(true);
|
||||||
// FIXME(nox): Why are errors silenced here?
|
window.dispatch_event_with_target_override(event);
|
||||||
let _ = window.dispatch_event_with_target_override(
|
|
||||||
event,
|
|
||||||
);
|
|
||||||
}),
|
}),
|
||||||
self.window.upcast(),
|
self.window.upcast(),
|
||||||
)
|
)
|
||||||
|
@ -2388,10 +2385,7 @@ impl Document {
|
||||||
update_with_current_instant(&document.load_event_start);
|
update_with_current_instant(&document.load_event_start);
|
||||||
|
|
||||||
debug!("About to dispatch load for {:?}", document.url());
|
debug!("About to dispatch load for {:?}", document.url());
|
||||||
// FIXME(nox): Why are errors silenced here?
|
window.dispatch_event_with_target_override(&event);
|
||||||
let _ = window.dispatch_event_with_target_override(
|
|
||||||
&event,
|
|
||||||
);
|
|
||||||
|
|
||||||
// http://w3c.github.io/navigation-timing/#widl-PerformanceNavigationTiming-loadEventEnd
|
// http://w3c.github.io/navigation-timing/#widl-PerformanceNavigationTiming-loadEventEnd
|
||||||
update_with_current_instant(&document.load_event_end);
|
update_with_current_instant(&document.load_event_end);
|
||||||
|
@ -2430,10 +2424,7 @@ impl Document {
|
||||||
let event = event.upcast::<Event>();
|
let event = event.upcast::<Event>();
|
||||||
event.set_trusted(true);
|
event.set_trusted(true);
|
||||||
|
|
||||||
// FIXME(nox): Why are errors silenced here?
|
window.dispatch_event_with_target_override(event);
|
||||||
let _ = window.dispatch_event_with_target_override(
|
|
||||||
event,
|
|
||||||
);
|
|
||||||
}),
|
}),
|
||||||
self.window.upcast(),
|
self.window.upcast(),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue