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 <script> | 4 <script> |
5 test(() => { | 5 test(() => { |
6 assert_throws({name: 'TypeError'}, () => { | 6 assert_throws({name: 'TypeError'}, () => { |
7 document.body.animate({left: [{toString:null}]}); | 7 document.body.animate({left: [{toString:null}]}); |
8 }); | 8 }); |
9 }, 'Do not crash when passing an unstringable value in a property indexed keyfra
me'); | 9 }, 'Do not crash when passing an unstringable value in a property indexed keyfra
me'); |
10 </script> | 10 </script> |
OLD | NEW |