Update web-platform-tests to revision de3ae39cb59880a8245431e7f09817a2a4dad1a3

This commit is contained in:
WPT Sync Bot 2018-06-15 21:19:30 -04:00
parent 0c5b020163
commit b322aa3943
131 changed files with 2717 additions and 600 deletions

View file

@ -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');