Revision eb9f8a917a751b5bd2e4ed86840eac8b5c4445f2 authored by Brian Birtles on 15 March 2018, 06:57:09 UTC, committed by Brian Birtles on 15 March 2018, 06:57:09 UTC
This patch also drops the test that an AnimationEffectTiming object is created in the appropriate realm since it is no longer the case that a separate timing object is created.
1 parent df2153f
interfaces.html
<!DOCTYPE html>
<title>Fullscreen IDL tests</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/resources/WebIDLParser.js></script>
<script src=/resources/idlharness.js></script>
<script>
"use strict";
function doTest([dom, fullscreen]) {
var idlArray = new IdlArray();
idlArray.add_untested_idls(dom);
idlArray.add_untested_idls('interface EventHandler {};');
idlArray.add_idls(fullscreen);
idlArray.add_objects({
Document: ['new Document'],
Element: ['document.createElementNS(null, "test")'],
});
idlArray.test();
}
function fetchText(url) {
return fetch(url).then((response) => response.text());
}
promise_test(() => {
return Promise.all(["/interfaces/dom.idl",
"/interfaces/fullscreen.idl"].map(fetchText))
.then(doTest);
}, "Test driver");
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...