| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
| 4 <body></body> | 4 <body></body> |
| 5 <script> | 5 <script> |
| 6 function assertAnimationEffect({keyframes, expect}) { | 6 function assertAnimationEffect({keyframes, expect}) { |
| 7 var target = document.createElement('target'); | 7 var target = document.createElement('target'); |
| 8 document.body.appendChild(target); | 8 document.body.appendChild(target); |
| 9 var animation = target.animate(keyframes, {duration: 1, fill: 'forwards'}); | 9 var animation = target.animate(keyframes, {duration: 1, fill: 'forwards'}); |
| 10 animation.pause(); | 10 animation.pause(); |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 assertAnimationEffect({ | 119 assertAnimationEffect({ |
| 120 keyframes: createIterable([ | 120 keyframes: createIterable([ |
| 121 {done: false, value: {left: ['100px', '200px']}}, | 121 {done: false, value: {left: ['100px', '200px']}}, |
| 122 {done: true}, | 122 {done: true}, |
| 123 ]), | 123 ]), |
| 124 expect: [], | 124 expect: [], |
| 125 }); | 125 }); |
| 126 }); | 126 }); |
| 127 }, 'Custom iterator with value list in keyframe should throw.'); | 127 }, 'Custom iterator with value list in keyframe should throw.'); |
| 128 </script> | 128 </script> |
| OLD | NEW |