| Index: third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html b/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html
|
| index 72ae7c695426a403e0e3cd25365005e09737e595..7670d69e511801b6517934ccf594d97711176535 100644
|
| --- a/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html
|
| +++ b/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other1.html
|
| @@ -8,7 +8,9 @@ var WebAnimationsEasingAsFunctionLinear = 1295;
|
| var WebAnimationsEasingAsFunctionOther = 1296;
|
|
|
| test(() => {
|
| - document.documentElement.animate([], { easing: 'function (x){return x}' });
|
| + assert_throws(
|
| + {name: 'TypeError'},
|
| + function() { document.documentElement.animate([], { easing: 'function (x){return x}' }) });
|
| assert_false(internals.isUseCounted(document, WebAnimationsEasingAsFunctionLinear));
|
| assert_true(internals.isUseCounted(document, WebAnimationsEasingAsFunctionOther));
|
| }, 'Any linear function for easing other than "function (a){return a}" is counted in WebAnimationsEasingAsFunctionOther.');
|
|
|