mirror of
https://github.com/servo/servo.git
synced 2025-08-19 20:35:34 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -1,30 +0,0 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>DocumentTimeline IDL</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/web-animations/#documenttimeline">
|
||||
<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>
|
||||
'use strict';
|
||||
|
||||
promise_test(async () => {
|
||||
const text = await fetch('/interfaces/web-animations.idl').then(response =>
|
||||
response.text(),
|
||||
);
|
||||
const idlArray = new IdlArray();
|
||||
idlArray.add_idls(text, {
|
||||
only: [
|
||||
'AnimationTimeline',
|
||||
'DocumentTimelineOptions',
|
||||
'DocumentTimeline',
|
||||
]
|
||||
});
|
||||
idlArray.add_objects({ DocumentTimeline: ['document.timeline'] });
|
||||
|
||||
idlArray.test();
|
||||
done();
|
||||
}, 'DocumentTimeline interface.');
|
||||
</script>
|
|
@ -0,0 +1,22 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
|
||||
// https://w3c.github.io/web-animations/#documenttimeline
|
||||
|
||||
'use strict';
|
||||
|
||||
promise_test(async () => {
|
||||
const text = await fetch('/interfaces/web-animations.idl').then(r => r.text());
|
||||
const idlArray = new IdlArray();
|
||||
idlArray.add_idls(text, {
|
||||
only: [
|
||||
'AnimationTimeline',
|
||||
'DocumentTimelineOptions',
|
||||
'DocumentTimeline',
|
||||
]
|
||||
});
|
||||
idlArray.add_objects({ DocumentTimeline: ['document.timeline'] });
|
||||
|
||||
idlArray.test();
|
||||
done();
|
||||
}, 'DocumentTimeline interface.');
|
Loading…
Add table
Add a link
Reference in a new issue