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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/w3c/3-keyframes-with-offsets.html

Issue 1720403002: Alternative syntax for element.animate list of keyframes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@animations-keyframeeffect-api
Patch Set: Additional (mismatched-length-list) test; ensure offset is initialized Created 4 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
Index: third_party/WebKit/LayoutTests/web-animations-api/w3c/3-keyframes-with-offsets.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/w3c/3-keyframes-with-offsets.html b/third_party/WebKit/LayoutTests/web-animations-api/w3c/3-keyframes-with-offsets.html
index f1620b9623530db780763285fb35cc560f911a28..d55a1d2452fa87a517f12de7cc8e55d3d10cacbb 100644
--- a/third_party/WebKit/LayoutTests/web-animations-api/w3c/3-keyframes-with-offsets.html
+++ b/third_party/WebKit/LayoutTests/web-animations-api/w3c/3-keyframes-with-offsets.html
@@ -92,7 +92,7 @@ test(function() {
offsetKeyframeB,
offsetKeyframeC,
], offsetKeyframeBExpectations, 'with ordered offsets');
- assert_throws('InvalidModificationError', function() {
+ assert_throws({name: 'TypeError'}, function() {
assertAnimationStyles([
offsetKeyframeA,
offsetKeyframeC,
@@ -100,7 +100,7 @@ test(function() {
], offsetKeyframeBExpectations, 'with unordered offsets (1)');
});
- assert_throws('InvalidModificationError', function() {
+ assert_throws({name: 'TypeError'}, function() {
assertAnimationStyles([
offsetKeyframeB,
offsetKeyframeA,
@@ -108,7 +108,7 @@ test(function() {
], offsetKeyframeBExpectations, 'with unordered offsets (2)');
});
- assert_throws('InvalidModificationError', function() {
+ assert_throws({name: 'TypeError'}, function() {
assertAnimationStyles([
offsetKeyframeB,
offsetKeyframeC,
@@ -116,7 +116,7 @@ test(function() {
], offsetKeyframeBExpectations, 'with unordered offsets (3)');
});
- assert_throws('InvalidModificationError', function() {
+ assert_throws({name: 'TypeError'}, function() {
assertAnimationStyles([
offsetKeyframeC,
offsetKeyframeA,
@@ -124,7 +124,7 @@ test(function() {
], offsetKeyframeBExpectations, 'with unordered offsets (4)');
});
- assert_throws('InvalidModificationError', function() {
+ assert_throws({name: 'TypeError'}, function() {
assertAnimationStyles([
offsetKeyframeC,
offsetKeyframeB,

Powered by Google App Engine
This is Rietveld 408576698