diff options
Diffstat (limited to 'testing/web-platform/tests/webdriver/interface.html')
-rw-r--r-- | testing/web-platform/tests/webdriver/interface.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webdriver/interface.html b/testing/web-platform/tests/webdriver/interface.html new file mode 100644 index 000000000..143a8643f --- /dev/null +++ b/testing/web-platform/tests/webdriver/interface.html @@ -0,0 +1,15 @@ +<!doctype html> +<meta charset=utf-8> +<title>WebDriver interface test</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> +var t = new IdlArray(); +t.add_untested_idls("interface Navigator {};"); +t.add_idls("partial interface Navigator { readonly attribute boolean webdriver; };"); +t.add_objects({Navigator: ["navigator"]}); +t.test(); +</script> |