diff options
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/window.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index ae9a0500c9e..bfac8638c90 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -531,7 +531,8 @@ impl<'a> WindowMethods for &'a Window { let callback = move |now: f64| { // TODO: @jdm The spec says that any exceptions should be suppressed; - callback.Call__(Finite::wrap(now), ExceptionHandling::Report).unwrap(); + // https://github.com/servo/servo/issues/6928 + let _ = callback.Call__(Finite::wrap(now), ExceptionHandling::Report); }; doc.r().request_animation_frame(Box::new(callback)) |