diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/web-app-launch.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/web-app-launch.idl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/web-app-launch.idl b/testing/web-platform/tests/interfaces/web-app-launch.idl new file mode 100644 index 0000000000..c3b6e39f3f --- /dev/null +++ b/testing/web-platform/tests/interfaces/web-app-launch.idl @@ -0,0 +1,19 @@ +// GENERATED CONTENT - DO NOT EDIT +// Content was automatically extracted by Reffy into webref +// (https://github.com/w3c/webref) +// Source: Web App Launch Handler API (https://wicg.github.io/web-app-launch/) + +[Exposed=Window] interface LaunchParams { + readonly attribute DOMString? targetURL; + readonly attribute FrozenArray<FileSystemHandle> files; +}; + +callback LaunchConsumer = any (LaunchParams params); + +partial interface Window { + readonly attribute LaunchQueue launchQueue; +}; + +[Exposed=Window] interface LaunchQueue { + undefined setConsumer(LaunchConsumer consumer); +}; |