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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/SVGAnimatedNumber-expected.txt

Issue 2713833002: Convert LayoutTests/svg/dom/SVGAnimated*.html js-tests.js to testharness.js based tests. (Closed)
Patch Set: Created 3 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
OLDNEW
(Empty)
1 This test checks the SVGAnimatedNumber API - utilizing the surfaceScale property of SVGFESpecularLightingElement
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 Check initial surfaceScale value
8 PASS feSpecularLightingElement.surfaceScale.toString() is "[object SVGAnimatedNu mber]"
9 PASS typeof(feSpecularLightingElement.surfaceScale.baseVal) is "number"
10 PASS feSpecularLightingElement.surfaceScale.baseVal is 1
11
12 Check that integers are static, caching value in a local variable and modifying it, should have no effect
13 PASS numRef is 100
14 PASS feSpecularLightingElement.surfaceScale.baseVal is 1
15
16 Check assigning various valid and invalid values
17 PASS feSpecularLightingElement.surfaceScale.baseVal = -1 is -1
18 PASS feSpecularLightingElement.surfaceScale.baseVal = 300 is 300
19 PASS feSpecularLightingElement.surfaceScale.baseVal = 'aString' threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The prov ided float value is non-finite..
20 PASS feSpecularLightingElement.surfaceScale.baseVal is 300
21 PASS feSpecularLightingElement.surfaceScale.baseVal = 0 is 0
22 PASS feSpecularLightingElement.surfaceScale.baseVal = NaN threw exception TypeEr ror: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The provided f loat value is non-finite..
23 PASS feSpecularLightingElement.surfaceScale.baseVal is 0
24 PASS feSpecularLightingElement.surfaceScale.baseVal = Infinity threw exception T ypeError: Failed to set the 'baseVal' property on 'SVGAnimatedNumber': The provi ded float value is non-finite..
25 PASS feSpecularLightingElement.surfaceScale.baseVal is 0
26 PASS feSpecularLightingElement.surfaceScale.baseVal = feSpecularLightingElement threw exception TypeError: Failed to set the 'baseVal' property on 'SVGAnimatedN umber': The provided float value is non-finite..
27 PASS feSpecularLightingElement.surfaceScale.baseVal is 0
28 PASS feSpecularLightingElement.surfaceScale.baseVal = 300 is 300
29
30 Check that the surfaceScale value remained 300
31 PASS feSpecularLightingElement.surfaceScale.baseVal is 300
32 PASS successfullyParsed is true
33
34 TEST COMPLETE
35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698