Index: third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/effect-easing.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/effect-easing.html b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/effect-easing.html |
index 5526eed7e4c7aa259e5f504efc40ce97aa7aa8dd..05019cdf3e4a2bfb27991ea8985963e6d8b835dc 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/effect-easing.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/effect-easing.html |
@@ -669,5 +669,15 @@ gStepTimingFunctionTests.forEach(function(options) { |
}, options.description); |
}); |
+gInvalidEasingTests.forEach(function(options) { |
+ test(function(t) { |
+ var div = createDiv(t); |
+ assert_throws({ name: 'TypeError' }, |
+ function() { |
+ div.animate({ easing: options.easing }, 100 * MS_PER_SEC); |
+ }); |
+ }, 'Invalid keyframe easing value: \'' + options.easing + '\''); |
+}); |
+ |
</script> |
</body> |