Automatic update from web-platform-tests Sync interfaces/ with @webref/idl 3.12.4 (#34155) * Sync interfaces/ with @webref/idl 3.12.4 * Revert fetch.idl changes Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com> Co-authored-by: Philip Jägenstedt <philip@foolip.org> -- wpt-commits: df731dab88a1a25c04eb7e6238c11dc28fda0801 wpt-pr: 34155
17 lines
469 B
Plaintext
17 lines
469 B
Plaintext
// 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;
|
|
};
|