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

Unified Diff: LayoutTests/svg/dom/SVGSVGElement-currentTime-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
« no previous file with comments | « LayoutTests/svg/dom/SVGSVGElement-currentTime.html ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGSVGElement-currentTime-expected.txt
diff --git a/LayoutTests/svg/dom/SVGSVGElement-currentTime-expected.txt b/LayoutTests/svg/dom/SVGSVGElement-currentTime-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf5dcdd3d24ee68b40971179f9cba8c49ae10dce
--- /dev/null
+++ b/LayoutTests/svg/dom/SVGSVGElement-currentTime-expected.txt
@@ -0,0 +1,11 @@
+Calling svgElement.setCurrentTime() with a non-finite value should throw.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS svgElement.setCurrentTime(NaN) threw exception TypeError: Failed to execute 'setCurrentTime' on 'SVGSVGElement': The provided float value is non-finite..
+PASS svgElement.setCurrentTime(Infinity) threw exception TypeError: Failed to execute 'setCurrentTime' on 'SVGSVGElement': The provided float value is non-finite..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/svg/dom/SVGSVGElement-currentTime.html ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698