mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 2b758296541cf4f2209b8c2352cf6c7890c97be3
This commit is contained in:
parent
2304f02123
commit
835d593cd0
118 changed files with 3269 additions and 703 deletions
|
@ -0,0 +1,21 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
|
||||
'use strict';
|
||||
|
||||
// https://w3c.github.io/server-timing/
|
||||
|
||||
promise_test(async () => {
|
||||
const idl = await fetch('/interfaces/server-timing.idl').then(r => r.text());
|
||||
const res = await fetch('/interfaces/resource-timing.idl').then(r => r.text());
|
||||
const perf = await fetch('/interfaces/performance-timeline.idl').then(r => r.text());
|
||||
|
||||
const idl_array = new IdlArray();
|
||||
idl_array.add_idls(idl);
|
||||
idl_array.add_dependency_idls(res);
|
||||
idl_array.add_dependency_idls(perf);
|
||||
idl_array.add_objects({
|
||||
Performance: ['performance'],
|
||||
});
|
||||
idl_array.test();
|
||||
}, 'Test server-timing IDL implementation');
|
Loading…
Add table
Add a link
Reference in a new issue