Revision 2844c3745a2e52eebd3620ea0a4ab9991ce17d5c authored by James Graham on 15 April 2018, 09:22:37 UTC, committed by moz-wptsync-bot on 15 April 2018, 09:22:37 UTC
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1452952 gecko-commit: 55b99481fab156381335b6887fca26b6a8f0c0b3 gecko-integration-branch: mozilla-inbound gecko-reviewers: ato
1 parent fd2badf
interfaces.html
<!doctype html>
<meta charset=utf-8>
<title>WebIDL 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>
<div id=log></div>
<script>
"use strict";
var idlArray = new IdlArray();
function doTest(idl) {
idlArray.add_idls(idl);
idlArray.add_objects({
DOMException: ['new DOMException()',
'new DOMException("my message")',
'new DOMException("my message", "myName")'],
});
idlArray.test();
}
promise_test(function() {
return fetch("/interfaces/webidl.idl").then(response => response.text())
.then(doTest);
}, "Test driver");
</script>
Computing file changes ...