Update web-platform-tests to revision 9d009fc59a8f99e0117b841b7f49094cc690964c

This commit is contained in:
WPT Sync Bot 2018-06-09 21:08:43 -04:00
parent 42701e5588
commit 75857a918c
33 changed files with 645 additions and 127 deletions

View file

@ -0,0 +1,23 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// https://wicg.github.io/media-capabilities/
'use strict';
promise_test(async () => {
const idl = await fetch('/interfaces/media-capabilities.idl').then(r => r.text());
const html = await fetch('/interfaces/html.idl').then(r => r.text());
const cssomView = await fetch('/interfaces/cssom-view.idl').then(r => r.text());
var idl_array = new IdlArray();
idl_array.add_idls(idl);
idl_array.add_dependency_idls(html);
idl_array.add_dependency_idls(cssomView);
idl_array.add_objects({
Navigator: ['navigator']
});
idl_array.test();
}, 'Test IDL implementation of Media Capabilities');