OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>SVGAnimationElement exceptions</title> |
| 3 <script src=../../resources/testharness.js></script> |
| 4 <script src=../../resources/testharnessreport.js></script> |
| 5 <svg height="0"><animate begin="foo.begin"/></svg> |
| 6 <script> |
| 7 setup(function() { |
| 8 window.animationElement = document.querySelector('animate'); |
| 9 }); |
| 10 |
| 11 test(function() { |
| 12 assert_throws('InvalidStateError', function() { animationElement.getStartTim
e() }); |
| 13 }, document.title+', getStartTime throws with unresolved interval.'); |
| 14 |
| 15 test(function() { |
| 16 assert_throws('NotSupportedError', function() { animationElement.getSimpleDu
ration() }); |
| 17 }, document.title+', getSimpleDuration throws with undefined simple duration.'); |
| 18 </script> |
OLD | NEW |