From 4c372712b4d149e06ee5df9953d953e226a58ad6 Mon Sep 17 00:00:00 2001 From: Alan Cutter Date: Thu, 28 Apr 2016 17:50:53 +1000 Subject: [PATCH] addCatch --- src/web-animations-bonus-object-form-keyframes.js | 1 + 1 file changed, 1 insertion(+) 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();