blob: d049d835f2fc60df7296da08a013793ae7e398ca [file] [log] [blame]
<!doctype html>
<meta charset=utf-8>
<link rel="help" href="https://w3c.github.io/webdriver/">
<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";
promise_test(async () => {
const idl_array = new IdlArray();
const idl = await fetch("/interfaces/webdriver.idl").then(r => r.text());
const html = await fetch("/interfaces/html.idl").then(r => r.text());
idl_array.add_idls(idl);
idl_array.add_dependency_idls(html);
idl_array.add_objects({
Navigator: ["navigator"]
});
idl_array.test();
}, "Test IDL implementation of webdriver API");
</script>