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

Unified Diff: LayoutTests/svg/dom/SVGSVGElement-currentScale-NaN-no-crash-expected.txt

Issue 910713002: Restrict floats over SVGSVGElement to finite values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update svg/animations/animate-setcurrenttime.html 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
Index: LayoutTests/svg/dom/SVGSVGElement-currentScale-NaN-no-crash-expected.txt
diff --git a/LayoutTests/svg/dom/SVGSVGElement-currentScale-NaN-no-crash-expected.txt b/LayoutTests/svg/dom/SVGSVGElement-currentScale-NaN-no-crash-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..dad905acbb7682fdf8428c6e74fc5ffba2c17cc6
--- /dev/null
+++ b/LayoutTests/svg/dom/SVGSVGElement-currentScale-NaN-no-crash-expected.txt
@@ -0,0 +1,11 @@
+Setting .currentScale to a non-finite should throw.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS svgElement.currentScale = NaN threw exception TypeError: Failed to set the 'currentScale' property on 'SVGSVGElement': The provided float value is non-finite..
+PASS svgElement.currentScale = Infinity threw exception TypeError: Failed to set the 'currentScale' property on 'SVGSVGElement': The provided float value is non-finite..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/svg/dom/SVGSVGElement-currentScale-NaN-no-crash.html ('k') | LayoutTests/svg/dom/SVGSVGElement-currentTime.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698