diff --git a/src/web-animations-bonus-object-form-keyframes.js b/src/web-animations-bonus-object-form-keyframes.js index 4c8e646..c1b6ecd 100644 --- a/src/web-animations-bonus-object-form-keyframes.js +++ b/src/web-animations-bonus-object-form-keyframes.js @@ -38,6 +38,7 @@ {duration: 1}); animation.currentTime = 0; animated = getComputedStyle(element).getPropertyValue('opacity') == testOpacity; + } catch (error) { } finally { if (animation) animation.cancel();