Chromium Code Reviews
DescriptionWeb Animations: Support iterator protocol in property indexed keyframe values
For element.animate() calls of the form
"element.animate({property: [a, b, c]}, timing);" we were not accepting
non-array iterables for the value list.
This patch extends support for generic iterable objects to property indexed
keyframe values.
This behaviour corresponds to step 6.3 of
http://w3c.github.io/web-animations/#process-a-keyframe-like-object
where we cast the values as a (DOMString or sequence<DOMString>) object.
BUG=645393
Committed: https://crrev.com/3abd8209bdc0a59fda5350b4e893c1eb0a28be88
Cr-Commit-Position: refs/heads/master@{#418507}
Patch Set 1 #Patch Set 2 : Exception handling #
Total comments: 4
Patch Set 3 : Review change #Patch Set 4 : Crash test #
Total comments: 1
Patch Set 5 : moarcomntents. #Patch Set 6 : Add missing null check #
Messages
Total messages: 25 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||