- From: Jan-Ivar Bruaroey <notifications@github.com>
- Date: Fri, 28 Sep 2018 13:33:22 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 28 September 2018 20:33:45 UTC
> OK, but what happens in a UA that doesn't support that dictionary member? @bzbarsky Good point. Though in the case of [share()](https://wicg.github.io/web-share/#share-method) at least, an invalid `url` should do it: ```js var supportsFiles = false; try { navigator.share(Object.defineProperty({url: ' '}, 'capture', {get: function () { supportsFiles = true; }})); } catch(e) {} ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/107#issuecomment-425557821
Received on Friday, 28 September 2018 20:33:45 UTC