Revision ed8099ac2129f3f7a0f9f3a5e30e3b581d54cdee authored by Philipp Hancke on 23 July 2018, 08:58:44 UTC, committed by Philipp Hancke on 25 July 2018, 15:46:40 UTC
makes most new transceiver tests pass by avoiding addTrack(track) which does not work in Firefox yet.
1 parent 6c8ab50
interfaces.html
<!doctype html>
<meta charset=utf-8>
<title>UI Events IDL tests</title>
<meta name=timeout content=long>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=/resources/WebIDLParser.js></script>
<script src=/resources/idlharness.js></script>
<h1>UI Events IDL tests</h1>
<div id=log></div>
<script>
"use strict";
function doTest([dom, uievents]) {
var idlArray = new IdlArray();
idlArray.add_untested_idls(dom);
idlArray.add_idls(uievents);
idlArray.add_objects({
FocusEvent: ['new FocusEvent("event")'],
MouseEvent: ['new MouseEvent("event")'],
WheelEvent: ['new WheelEvent("event")'],
KeyboardEvent: ['new KeyboardEvent("event")'],
CompositionEvent: ['new CompositionEvent("event")'],
UIEvent: ['new UIEvent("event")'],
InputEvent: ['new InputEvent("event")'],
});
idlArray.test();
};
function fetchData(url) {
return fetch(url).then((response) => response.text());
}
function waitForLoad() {
return new Promise(function(resolve) {
addEventListener("load", resolve);
});
}
promise_test(function() {
return Promise.all([fetchData("/interfaces/dom.idl"),
fetchData("/interfaces/uievents.idl")])
.then(doTest);
}, "Test driver");
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...