| Index: third_party/WebKit/LayoutTests/animations/unstringable-keyframe-value-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/unstringable-keyframe-value-crash.html b/third_party/WebKit/LayoutTests/animations/unstringable-keyframe-value-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ee495b252e5cd973d7cbf0932048e4e599c32565
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/animations/unstringable-keyframe-value-crash.html
|
| @@ -0,0 +1,10 @@
|
| +<!DOCTYPE html>
|
| +<script src="../resources/testharness.js"></script>
|
| +<script src="../resources/testharnessreport.js"></script>
|
| +<script>
|
| +test(() => {
|
| + assert_throws({name: 'TypeError'}, () => {
|
| + document.body.animate({left: [{toString:null}]});
|
| + });
|
| +}, 'Do not crash when passing an unstringable value in a property indexed keyframe');
|
| +</script>
|
|
|