Status: FAIL | Duration: 56ms | Subtests: 0/2 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| SVGAnimationElement exceptions, getStartTime throws with unresolved interval. | FAIL | assert_throws_dom: function "function() { animationElement.getStartTime() }" threw object "TypeError: not a callable function" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 |
| SVGAnimationElement exceptions, getSimpleDuration throws with undefined simple duration. | FAIL | assert_throws_dom: function "function() { animationElement.getSimpleDuration() }" threw object "TypeError: not a callable function" that is not a DOMException NotSupportedError: property "code" is equal to undefined, expected 9 |
/svg/animations/scripted/SVGAnimationElement-exceptions.html
<!DOCTYPE html> <title>SVGAnimationElement exceptions</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <svg height="0"><animate begin="foo.begin"/></svg> <script> setup(function() { window.animationElement = document.querySelector('animate'); }); test(function() { assert_throws_dom('InvalidStateError', function() { animationElement.getStartTime() }); }, document.title+', getStartTime throws with unresolved interval.'); test(function() { assert_throws_dom('NotSupportedError', function() { animationElement.getSimpleDuration() }); }, document.title+', getSimpleDuration throws with undefined simple duration.'); </script>