Revision 0529cdebdffd452cb2c9d1509a2f196bbb1df508 authored by Luke Bjerring on 22 March 2018, 01:33:12 UTC, committed by Brian Birtles on 22 March 2018, 01:33:12 UTC
1 parent 26e8a76
interfaces.any.js
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
"use strict";
// https://wicg.github.io/feature-policy/
var idlArray = new IdlArray();
function doTest(idl) {
idlArray.add_untested_idls("interface HTMLIFrameElement {};");
idlArray.add_idls(idl);
idlArray.add_objects({
HTMLIframeElement: ['document.createElement("iframe")'],
})
idlArray.test();
done();
}
promise_test(function () {
return fetch("/interfaces/feature-policy.idl").then(response => response.text())
.then(doTest);
}, "Test interfaces");
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...