| Index: third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/DocumentTimeline/constructor.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/DocumentTimeline/constructor.html b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/DocumentTimeline/constructor.html
|
| index 8968ff4ce8e3ec6c7aafd5bbc2b707cf6601b556..efdf1118e2ea33559a85507e1104a828f81596ce 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/DocumentTimeline/constructor.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/DocumentTimeline/constructor.html
|
| @@ -11,32 +11,24 @@
|
| "use strict";
|
|
|
| test(function(t) {
|
| - var timeline = new DocumentTimeline();
|
| + var timeline = new DocumentTimeline(0);
|
|
|
| assert_times_equal(timeline.currentTime, document.timeline.currentTime);
|
| -}, 'An origin time of zero is used when none is supplied');
|
| +}, 'zero origin time');
|
|
|
| test(function(t) {
|
| - var timeline = new DocumentTimeline({ originTime: 0 });
|
| - assert_times_equal(timeline.currentTime, document.timeline.currentTime);
|
| -}, 'A zero origin time produces a document timeline with a current time ' +
|
| - 'identical to the default document timeline');
|
| -
|
| -test(function(t) {
|
| - var timeline = new DocumentTimeline({ originTime: 10 * MS_PER_SEC });
|
| + var timeline = new DocumentTimeline(10 * MS_PER_SEC);
|
|
|
| assert_times_equal(timeline.currentTime,
|
| (document.timeline.currentTime - 10 * MS_PER_SEC));
|
| -}, 'A positive origin time makes the document timeline\'s current time lag ' +
|
| - 'behind the default document timeline');
|
| +}, 'positive origin time');
|
|
|
| test(function(t) {
|
| - var timeline = new DocumentTimeline({ originTime: -10 * MS_PER_SEC });
|
| + var timeline = new DocumentTimeline(-10 * MS_PER_SEC);
|
|
|
| assert_times_equal(timeline.currentTime,
|
| (document.timeline.currentTime + 10 * MS_PER_SEC));
|
| -}, 'A negative origin time makes the document timeline\'s current time run ' +
|
| - 'ahead of the default document timeline');
|
| +}, 'negative origin time');
|
|
|
| </script>
|
| </body>
|
|
|