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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-expected.txt b/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-expected.txt
index 3d369b24a28e4f95fddca8a49bea750f3b2a398e..2e1b20a742aa75ceb45efec6a2eacea50c50fc80 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-expected.txt
@@ -3,33 +3,18 @@ FAIL set duration 123.45 anim.effect.getComputedTiming is not a function
FAIL set duration auto anim.effect.getComputedTiming is not a function
FAIL set auto duration in animate as object anim.effect.getComputedTiming is not a function
FAIL set duration Infinity anim.effect.getComputedTiming is not a function
-FAIL set negative duration in animate using a duration parameter assert_throws: function "function () {
- div.animate({ opacity: [ 0, 1 ] }, -1);..." did not throw
+PASS set negative duration in animate using a duration parameter
PASS set negative Infinity duration in animate using a duration parameter
PASS set NaN duration in animate using a duration parameter
-FAIL set negative duration in animate using an options object assert_throws: function "function () {
- div.animate({ opacity: [ 0, 1 ] }, { du..." did not throw
-FAIL set negative Infinity duration in animate using an options object assert_throws: function "function () {
- div.animate({ opacity: [ 0, 1 ] }, { du..." did not throw
-FAIL set NaN duration in animate using an options object assert_throws: function "function () {
- div.animate({ opacity: [ 0, 1 ] }, { du..." did not throw
-FAIL set abc string duration in animate using an options object assert_throws: function "function () {
- div.animate({ opacity: [ 0, 1 ] }, { du..." did not throw
-FAIL set 100 string duration in animate using an options object assert_throws: function "function () {
- div.animate({ opacity: [ 0, 1 ] }, { du..." did not throw
-FAIL set negative duration assert_throws: function "function () {
- anim.effect.timing.duration = -1;
- }" did not throw
-FAIL set negative Infinity duration assert_throws: function "function () {
- anim.effect.timing.duration = -Infinity..." did not throw
-FAIL set NaN duration assert_throws: function "function () {
- anim.effect.timing.duration = NaN;
- }" did not throw
-FAIL set duration abc assert_throws: function "function () {
- anim.effect.timing.duration = 'abc';
- }" did not throw
-FAIL set duration string 100 assert_throws: function "function () {
- anim.effect.timing.duration = '100';
- }" did not throw
+PASS set negative duration in animate using an options object
+PASS set negative Infinity duration in animate using an options object
+PASS set NaN duration in animate using an options object
+PASS set abc string duration in animate using an options object
+PASS set 100 string duration in animate using an options object
+PASS set negative duration
+PASS set negative Infinity duration
+PASS set NaN duration
+PASS set duration abc
+PASS set duration string 100
Harness: the test ran to completion.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/iterationStart-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698