Implement DocumentTimeline
The Document.timeline property is currently an AnimationTimeline object. The
spec says that it should be a DocumentTimeline, where DocumentTimeline inherits
from AnimationTimeline.
This patch adds the DocumentTimeline IDL file and basic implementation,
excluding the constructor as specified at
http://w3c.github.io/web-animations/#the-documenttimeline-interface.
(The lack of this constructor is the cause of the "Illegal constructor" errors
in the changed LayoutTests expectations.)
This patch also changes the Document.timeline property to be a DocumentTimeline.
This then requires several #includes to be updated, in files that call
document.timeline().someMethod(), even though these 'someMethod's are inherited
from AnimationTimeline.
BUG=
624639,
600248
Committed:
https://crrev.com/c27a7492ea607447c055a93856c14e614678ac5e
Cr-Commit-Position: refs/heads/master@{#410950}