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

Unified Diff: LayoutTests/svg/dom/SVGNumber-expected.txt

Issue 930053002: Apply TypeChecking=Unrestricted to SVG{Number,Length,Transform,Angle} (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/dom/SVGLength-expected.txt ('k') | LayoutTests/svg/dom/SVGTransform-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGNumber-expected.txt
diff --git a/LayoutTests/svg/dom/SVGNumber-expected.txt b/LayoutTests/svg/dom/SVGNumber-expected.txt
index dbc7f99608fe64fb42d617d31bf0d2b3d6424922..701260503ef7691b5a1a90f46d496648e0d21132 100644
--- a/LayoutTests/svg/dom/SVGNumber-expected.txt
+++ b/LayoutTests/svg/dom/SVGNumber-expected.txt
@@ -18,10 +18,13 @@ PASS numRef is 1000
PASS num.value is -12345678
Check assigning invalid number, number should be 0 afterwards
-PASS num.value = num is num
-PASS num.value = 'aString' is 'aString'
-PASS num.value = svgElement is svgElement
-PASS num.value is NaN
+PASS num.value = 0 is 0
+PASS num.value = num threw exception TypeError: Failed to set the 'value' property on 'SVGNumber': The provided float value is non-finite..
+PASS num.value = 'aString' threw exception TypeError: Failed to set the 'value' property on 'SVGNumber': The provided float value is non-finite..
+PASS num.value = svgElement threw exception TypeError: Failed to set the 'value' property on 'SVGNumber': The provided float value is non-finite..
+PASS num.value = NaN threw exception TypeError: Failed to set the 'value' property on 'SVGNumber': The provided float value is non-finite..
+PASS num.value = Infinity threw exception TypeError: Failed to set the 'value' property on 'SVGNumber': The provided float value is non-finite..
+PASS num.value is 0
PASS num.value = null is null
Check that the number is now null
« no previous file with comments | « LayoutTests/svg/dom/SVGLength-expected.txt ('k') | LayoutTests/svg/dom/SVGTransform-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698