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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-expected.txt

Issue 1866333004: Import web-platform-tests@5a8700479d98852455bee6117558897867eb278a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wpt-sync
Patch Set: Add Failure option for two TestExpectations entries 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
new file mode 100644
index 0000000000000000000000000000000000000000..3d369b24a28e4f95fddca8a49bea750f3b2a398e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-effect-timing/duration-expected.txt
@@ -0,0 +1,35 @@
+This is a testharness.js-based test.
+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 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
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698