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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/iterations-expected.txt

Issue 1906463002: Web Animations: Throw TypeErrors for invalid timing parameters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests Created 4 years, 8 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
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 FAIL set iterations 2 anim.effect.getComputedTiming is not a function 2 FAIL set iterations 2 anim.effect.getComputedTiming is not a function
3 FAIL set iterations Infinity anim.effect.getComputedTiming is not a function 3 FAIL set iterations Infinity anim.effect.getComputedTiming is not a function
4 FAIL set negative iterations assert_throws: function "function () { 4 PASS set negative iterations
5 anim.effect.timing.iterations = -1; 5 PASS set negative infinity iterations
6 }" did not throw 6 PASS set NaN iterations
7 FAIL set negative infinity iterations assert_throws: function "function () {
8 anim.effect.timing.iterations = -Infini..." did not throw
9 FAIL set NaN iterations assert_throws: function "function () {
10 anim.effect.timing.iterations = NaN;
11 }" did not throw
12 Harness: the test ran to completion. 7 Harness: the test ran to completion.
13 8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698