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

Unified Diff: third_party/WebKit/Source/core/animation/AnimationEffectTiming.idl

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/Source/core/animation/AnimationEffectTiming.idl
diff --git a/third_party/WebKit/Source/core/animation/AnimationEffectTiming.idl b/third_party/WebKit/Source/core/animation/AnimationEffectTiming.idl
index def85d1f3095762e26296d03df700618244df57d..4e44a080116a2571f56f032dcc1db9bfff2ee7ca 100644
--- a/third_party/WebKit/Source/core/animation/AnimationEffectTiming.idl
+++ b/third_party/WebKit/Source/core/animation/AnimationEffectTiming.idl
@@ -11,9 +11,9 @@
attribute double delay;
attribute double endDelay;
attribute DOMString fill;
- attribute double iterationStart;
- attribute unrestricted double iterations;
- attribute (unrestricted double or DOMString) duration;
+ [RaisesException=Setter] attribute double iterationStart;
+ [RaisesException=Setter] attribute unrestricted double iterations;
+ [RaisesException=Setter] attribute (unrestricted double or DOMString) duration;
// TODO(dstockwell): playbackRate has been removed from level 1.
attribute double playbackRate;
attribute DOMString direction;

Powered by Google App Engine
This is Rietveld 408576698