| Index: third_party/WebKit/LayoutTests/webshare/idl.html
|
| diff --git a/third_party/WebKit/LayoutTests/webshare/idl.html b/third_party/WebKit/LayoutTests/webshare/idl.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3495d0a29dd528fb2eeed2b113a577a19c471a0c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/webshare/idl.html
|
| @@ -0,0 +1,30 @@
|
| +<!DOCTYPE html>
|
| +<link rel="help" href="https://github.com/WICG/web-share/blob/master/docs/interface.md">
|
| +<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 type="text/plain" id="untested">
|
| + interface Navigator {
|
| + };
|
| +</script>
|
| +<script type="text/plain" id="tested">
|
| + dictionary ShareData {
|
| + DOMString? title;
|
| + DOMString? text;
|
| + DOMString? url;
|
| + };
|
| + partial interface Navigator {
|
| + Promise<void> share(ShareData data);
|
| + };
|
| +</script>
|
| +<script>
|
| + "use strict";
|
| + var idl_array = new IdlArray();
|
| + idl_array.add_untested_idls(document.querySelector("#untested").textContent);
|
| + idl_array.add_idls(document.querySelector('#tested').textContent);
|
| + idl_array.add_objects({
|
| + Navigator: ['navigator']
|
| + });
|
| + idl_array.test();
|
| +</script>
|
|
|