| Index: third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other2.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other2.html b/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8cac23d20cfb55bf864369adf5c9da1b802641fd
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/animations/function-easing-use-counters-other2.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<script>
|
| +'use strict';
|
| +// From UseCounter.h
|
| +var WebAnimationsEasingAsFunctionLinear = 1295;
|
| +var WebAnimationsEasingAsFunctionOther = 1296;
|
| +
|
| +test(() => {
|
| + document.documentElement.animate([], { easing: 'function(x, y){return 0.3}' });
|
| + assert_false(internals.isUseCounted(document, WebAnimationsEasingAsFunctionLinear));
|
| + assert_true(internals.isUseCounted(document, WebAnimationsEasingAsFunctionOther));
|
| +}, 'Arbitrary functions for easing are counted in WebAnimationsEasingAsFunctionOther.');
|
| +</script>
|
|
|