| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-timeline/idlharness.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-timeline/idlharness.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-timeline/idlharness.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7ca3530edede14f76dc0c7b672d9026fa637074c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/web-animations/animation-timeline/idlharness.html
|
| @@ -0,0 +1,29 @@
|
| +<!doctype html>
|
| +<meta charset=utf-8>
|
| +<title>Web Animations API: DocumentTimeline tests</title>
|
| +<script src="../../../../resources/testharness.js"></script>
|
| +<script src="../../../../resources/testharnessreport.js"></script>
|
| +<script src="../../../../resources/WebIDLParser.js"></script>
|
| +<script src="../../../../resources/idlharness.js"></script>
|
| +<div id="log"></div>
|
| +<script type="text/plain" id="DocumentTimeline-IDL">
|
| +interface AnimationTimeline {
|
| + readonly attribute double? currentTime;
|
| +};
|
| +
|
| +interface DocumentTimeline : AnimationTimeline {
|
| +};
|
| +</script>
|
| +<script>
|
| +'use strict';
|
| +
|
| +var idlArray;
|
| +test(function() {
|
| + idlArray = new IdlArray();
|
| + idlArray.add_idls(
|
| + document.getElementById('DocumentTimeline-IDL').textContent);
|
| + idlArray.add_objects( { DocumentTimeline: ['document.timeline'] } );
|
| +});
|
| +idlArray.test();
|
| +
|
| +</script>
|
|
|