mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
Update web-platform-tests to revision d75cd4df6722acef7224eb6edcdc52b125680dad
This commit is contained in:
parent
1af15054e7
commit
d18b651358
120 changed files with 3588 additions and 1362 deletions
|
@ -22,16 +22,15 @@
|
|||
<script>
|
||||
'use strict';
|
||||
|
||||
promise_test(async () => {
|
||||
const idls = await fetch('/interfaces/encrypted-media.idl').then(r => r.text());
|
||||
const html = await fetch('/interfaces/html.idl').then(r => r.text());
|
||||
const dom = await fetch('/interfaces/dom.idl').then(r => r.text());
|
||||
var idl_array = new IdlArray();
|
||||
idl_array.add_idls(idls);
|
||||
idl_array.add_dependency_idls(html);
|
||||
idl_array.add_dependency_idls(dom);
|
||||
idl_array.test();
|
||||
}, 'Test encrypted-media IDL');
|
||||
idl_test(
|
||||
['encrypted-media'],
|
||||
['html', 'dom'],
|
||||
idl_array => {
|
||||
idl_array.add_objects({
|
||||
Navigator: ['navigator'],
|
||||
});
|
||||
}
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue