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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 Setting .currentScale to a non-finite should throw.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS svgElement.currentScale = NaN threw exception TypeError: Failed to set the 'currentScale' property on 'SVGSVGElement': The provided float value is non-fini te..
7 PASS svgElement.currentScale = Infinity threw exception TypeError: Failed to set the 'currentScale' property on 'SVGSVGElement': The provided float value is non -finite..
8 PASS successfullyParsed is true
9
10 TEST COMPLETE
11
OLDNEW
« 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