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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.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/keyframe-exceptions.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html b/third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html
index 8053465b5f3c02e0e2fac3a11156ae9923d0cc7d..a72c5cb7dfbcdf3156173dffa8a4575d190a4af4 100644
--- a/third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html
+++ b/third_party/WebKit/LayoutTests/web-animations-api/keyframe-exceptions.html
@@ -13,7 +13,7 @@ function assert_throws_with_message(e, f, m) {
}
test(function() {
- assert_throws_with_message('InvalidModificationError',
+ assert_throws_with_message('TypeError',
function() {
document.documentElement.animate([
{offset: 0.6},
@@ -23,7 +23,7 @@ test(function() {
"Failed to execute 'animate' on 'Element': Keyframes with specified offsets are not sorted"
);
- assert_throws_with_message('InvalidModificationError',
+ assert_throws_with_message('TypeError',
function() {
document.documentElement.animate([
{offset: 'a donkey'}
@@ -32,7 +32,7 @@ test(function() {
"Failed to execute 'animate' on 'Element': Non numeric offset provided"
);
- assert_throws_with_message('InvalidModificationError',
+ assert_throws_with_message('TypeError',
function() {
document.documentElement.animate([
{offset: -1}

Powered by Google App Engine
This is Rietveld 408576698