tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

SVGAnimationElement-exceptions.html (704B)


      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_dom('InvalidStateError', function() { animationElement.getStartTime() });
     13 }, document.title+', getStartTime throws with unresolved interval.');
     14 
     15 test(function() {
     16    assert_throws_dom('NotSupportedError', function() { animationElement.getSimpleDuration() });
     17 }, document.title+', getSimpleDuration throws with undefined simple duration.');
     18 </script>