- From: Matt Giuca <notifications@github.com>
- Date: Wed, 24 May 2017 21:53:49 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 25 May 2017 04:54:23 UTC
> it seems like your version of web share doesn't say yes to `supports("url")`, which seems bad. In other words it sounds like `supports("x")` will only return true for "x"s added to the spec after some point in time at which the spec authors started caring about feature detection. That's valid. I guess you could either add all the dictionary members (but then your IDL is going to have a redundancy where every dictionary key is also listed in the `SupportsFeatures` bit), or you could say there are some basic things that any implementation really needs to have to be compliant (for `navigator.share`, that's `title`, `text` and `url`) and then there are some "add-on" features that you can omit. > Ah, that helps me understand it better. Note I am not trying to put words in @RByers mouth; he may have not been thinking of literally passing the full dictionary. Yeah the partial support issue feels like a deal-breaker, at least for Web Share. > Web IDL type coercions will cause side effects Ouch, if that can be arbitrary side effects then I'd rather avoid it. -- 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-303922103
Received on Thursday, 25 May 2017 04:54:23 UTC