Skip to content

Commit

Permalink
Merge pull request #439 from alancutter/addCatch
Browse files Browse the repository at this point in the history
Add missing catch block to object form support test
  • Loading branch information
ewilligers committed Apr 28, 2016
2 parents 2631dff + 4c37271 commit b06478e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/web-animations-bonus-object-form-keyframes.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
{duration: 1});
animation.currentTime = 0;
animated = getComputedStyle(element).getPropertyValue('opacity') == testOpacity;
} catch (error) {
} finally {
if (animation)
animation.cancel();
Expand Down

0 comments on commit b06478e

Please sign in to comment.