- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Mon, 02 Nov 2026 03:03:55 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 2 November 2026 11:03:59 UTC
saschanaz left a comment (whatwg/webidl#107) The supportedOptions stuff becomes trickier if each member has to be validated or depends on other members. For Web Share: 1. `files: []` would throw unless any of title/text/url exists 2. [Not all file types are accepted](https://www.w3.org/TR/web-share/#dfn-validate-share-data): > If the user agent believes sharing any of the files in files would result in a potentially hostile share (i.e., the user agent determines a file is malicious in some way, because of its contents, size, or other characteristic), return false. 3. `url` would throw for unsafe schemes `supportedOptions` wouldn't be able to express such complexity, unless we complicate `supportedOptions` itself. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/107#issuecomment-6575519242 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/107/6575519242@github.com>
Received on Monday, 2 November 2026 11:03:59 UTC