| Index: LayoutTests/svg/animations/script-tests/svg-animation-policy.js
|
| diff --git a/LayoutTests/svg/animations/script-tests/svg-animation-policy.js b/LayoutTests/svg/animations/script-tests/svg-animation-policy.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c187eb326a9984f7ebf99467aa0454cb094854f2
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/animations/script-tests/svg-animation-policy.js
|
| @@ -0,0 +1,20 @@
|
| +embedSVGTestCase("resources/animation-policy.svg");
|
| +
|
| +function executeTest() {
|
| + rect = rootSVGElement.ownerDocument.getElementsByTagName("rect")[0];
|
| +
|
| + const expectedValues = [
|
| + // [animationId, time, sampleCallback]
|
| + ["an1", 0.0, sample1],
|
| + ["an1", 1.0, sample2],
|
| + ["an1", 1.999, sample3],
|
| + ["an1", 2.0, sample4],
|
| + ["an1", 3.0, sample5],
|
| + ["an1", 3.999, sample6]
|
| + ];
|
| +
|
| + runAnimationTest(expectedValues);
|
| +}
|
| +
|
| +window.animationStartsImmediately = true;
|
| +var successfullyParsed = true;
|
|
|