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

Side by Side Diff: LayoutTests/svg/dom/method-argument-typechecks-expected.txt

Issue 931583003: Add TypeChecking=Unrestricted to SVGElements where applicable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
OLDNEW
1 Check that invalid values of arguments throw TypeError. 1 Check that invalid values of arguments throw TypeError.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 SVGAnimationElement 6 SVGAnimationElement
7 7
8 beginElementAt(float offset) 8 beginElementAt(float offset)
9 PASS animateElm.beginElementAt(0) did not throw exception. 9 PASS animateElm.beginElementAt(0) did not throw exception.
10 FAIL animateElm.beginElementAt(NaN) should throw an exception. Was undefined. 10 PASS animateElm.beginElementAt(NaN) threw exception TypeError: Failed to execute 'beginElementAt' on 'SVGAnimationElement': The provided float value is non-fini te..
11 FAIL animateElm.beginElementAt(Infinity) should throw an exception. Was undefine d. 11 PASS animateElm.beginElementAt(Infinity) threw exception TypeError: Failed to ex ecute 'beginElementAt' on 'SVGAnimationElement': The provided float value is non -finite..
12 12
13 endElementAt(float offset) 13 endElementAt(float offset)
14 PASS animateElm.endElementAt(0) did not throw exception. 14 PASS animateElm.endElementAt(0) did not throw exception.
15 FAIL animateElm.endElementAt(NaN) should throw an exception. Was undefined. 15 PASS animateElm.endElementAt(NaN) threw exception TypeError: Failed to execute ' endElementAt' on 'SVGAnimationElement': The provided float value is non-finite..
16 FAIL animateElm.endElementAt(Infinity) should throw an exception. Was undefined. 16 PASS animateElm.endElementAt(Infinity) threw exception TypeError: Failed to exec ute 'endElementAt' on 'SVGAnimationElement': The provided float value is non-fin ite..
17 17
18 18
19 SVGFEDropShadowElement 19 SVGFEDropShadowElement
20 20
21 setStdDeviation(float stdDeviationX, float stdDeviationY) 21 setStdDeviation(float stdDeviationX, float stdDeviationY)
22 PASS dropShadow.setStdDeviation(0, 0) did not throw exception. 22 PASS dropShadow.setStdDeviation(0, 0) did not throw exception.
23 FAIL dropShadow.setStdDeviation(NaN, NaN) should throw an exception. Was undefin ed. 23 PASS dropShadow.setStdDeviation(NaN, 1) threw exception TypeError: Failed to exe cute 'setStdDeviation' on 'SVGFEDropShadowElement': The provided float value is non-finite..
24 FAIL dropShadow.setStdDeviation(Infinity, Infinity) should throw an exception. W as undefined. 24 PASS dropShadow.setStdDeviation(Infinity, 1) threw exception TypeError: Failed t o execute 'setStdDeviation' on 'SVGFEDropShadowElement': The provided float valu e is non-finite..
25 PASS dropShadow.setStdDeviation(1, NaN) threw exception TypeError: Failed to exe cute 'setStdDeviation' on 'SVGFEDropShadowElement': The provided float value is non-finite..
26 PASS dropShadow.setStdDeviation(1, Infinity) threw exception TypeError: Failed t o execute 'setStdDeviation' on 'SVGFEDropShadowElement': The provided float valu e is non-finite..
25 27
26 28
27 SVGFEGaussianBlurElement 29 SVGFEGaussianBlurElement
28 30
29 setStdDeviation(float stdDeviationX, float stdDeviationY) 31 setStdDeviation(float stdDeviationX, float stdDeviationY)
30 PASS gaussian.setStdDeviation(0, 0) did not throw exception. 32 PASS gaussian.setStdDeviation(0, 0) did not throw exception.
31 FAIL gaussian.setStdDeviation(NaN, NaN) should throw an exception. Was undefined . 33 PASS gaussian.setStdDeviation(NaN, 1) threw exception TypeError: Failed to execu te 'setStdDeviation' on 'SVGFEGaussianBlurElement': The provided float value is non-finite..
32 FAIL gaussian.setStdDeviation(Infinity, Infinity) should throw an exception. Was undefined. 34 PASS gaussian.setStdDeviation(Infinity, 1) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEGaussianBlurElement': The provided float valu e is non-finite..
35 PASS gaussian.setStdDeviation(1, NaN) threw exception TypeError: Failed to execu te 'setStdDeviation' on 'SVGFEGaussianBlurElement': The provided float value is non-finite..
36 PASS gaussian.setStdDeviation(1, Infinity) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEGaussianBlurElement': The provided float valu e is non-finite..
33 PASS successfullyParsed is true 37 PASS successfullyParsed is true
34 38
35 TEST COMPLETE 39 TEST COMPLETE
36 40
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/method-argument-typechecks.html ('k') | Source/core/svg/SVGAnimationElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698