Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html |
| diff --git a/third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html b/third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f8830d6cba2e3cd26287b215e4f6f897679b4266 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/animations/keyframeeffect-no-target-crash.html |
| @@ -0,0 +1,16 @@ |
| +<div id="target">This test passes if it does not crash.</div> |
| +<script> |
| + let effect = new KeyframeEffect(null, null, { duration: 1000}); |
|
alancutter (OOO until 2018)
2017/06/26 04:38:47
Remove space after {.
suzyh_UTC10 (ex-contributor)
2017/06/27 05:12:15
Done.
|
| + let animation = new Animation(effect); |
| + |
| + if (window.testRunner) { |
| + testRunner.waitUntilDone(); |
| + testRunner.dumpAsText(); |
| + requestAnimationFrame(function() { |
| + testRunner.notifyDone(); |
| + }); |
| + } |
| +</script> |
| +<style> |
| +@keyframes frame { } |
| +</style> |