summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/web-share.idl
blob: 12a2dbb8acad260cfebd5c26c9a2c30389caf0d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Web Share API (https://w3c.github.io/web-share/)

partial interface Navigator {
  [SecureContext] Promise<undefined> share(optional ShareData data = {});
  [SecureContext] boolean canShare(optional ShareData data = {});
};

dictionary ShareData {
  sequence<File> files;
  USVString title;
  USVString text;
  USVString url;
};