Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: LayoutTests/svg/dom/SVGAnimationElement-exceptions.html

Issue 1088933005: Throw exception if querying SVGAnimationElement with unresolved interval (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/svg/SVGAnimationElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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>
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGAnimationElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698