Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee

This commit is contained in:
WPT Sync Bot 2018-04-23 21:13:37 -04:00
parent c5f7c9ccf3
commit e891345f26
1328 changed files with 36632 additions and 20588 deletions

View file

@ -0,0 +1,24 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
// See https://wicg.github.io/budget-api/
promise_test(async () => {
const html = await fetch('/interfaces/html.idl').then(r => r.text());
const workers = await fetch('/interfaces/dedicated-workers.idl').then(r => r.text());
const idl = await fetch('/interfaces/budget-api.idl').then(r => r.text());
const idlArray = new IdlArray();
idlArray.add_untested_idls(html, { only: [
'Navigator',
'NavigatorContentUtils',
'NavigatorCookies',
'NavigatorPlugins',
] });
idlArray.add_untested_idls(workers);
idlArray.add_idls(idl);
idlArray.test();
done();
}, 'budget-api interfaces.');