mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
24
tests/wpt/web-platform-tests/budget-api/interfaces.any.js
Normal file
24
tests/wpt/web-platform-tests/budget-api/interfaces.any.js
Normal 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.');
|
Loading…
Add table
Add a link
Reference in a new issue