| OLD | NEW |
| 1 <div id="target">This test passes if it does not crash.</div> | 1 <div id="target">This test passes if it does not crash.</div> |
| 2 <script> | 2 <script> |
| 3 let effect = new KeyframeEffect(null, null, {duration: 1000}); | 3 let effect = new KeyframeEffect(null, null, {duration: 1000}); |
| 4 let animation = new Animation(effect); | 4 let animation = new Animation(effect); |
| 5 | 5 |
| 6 if (window.testRunner) { | 6 if (window.testRunner) { |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
| 9 requestAnimationFrame(function() { | 9 requestAnimationFrame(function() { |
| 10 testRunner.notifyDone(); | 10 testRunner.notifyDone(); |
| 11 }); | 11 }); |
| 12 } | 12 } |
| 13 </script> | 13 </script> |
| 14 <style> | 14 <style> |
| 15 @keyframes frame { } | 15 @keyframes frame { } |
| 16 </style> | 16 </style> |
| OLD | NEW |