| Index: third_party/WebKit/LayoutTests/animations/keyframe-iteration-exception-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/keyframe-iteration-exception-crash.html b/third_party/WebKit/LayoutTests/animations/keyframe-iteration-exception-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..812106bb00db875ed8ca017a87889ed512dbe9ed
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/animations/keyframe-iteration-exception-crash.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<div id="target"></div>
|
| +<script>
|
| +test(() => {
|
| + assert_throws(null, () => {
|
| + target.animate({
|
| + [Symbol.iterator]() {
|
| + return { next() { throw 'error'; } };
|
| + }
|
| + });
|
| + });
|
| +}, 'Do not crash when exceptions are thrown during keyframe iteration.');
|
| +</script>
|
|
|