- From: Malte Ubl <notifications@github.com>
- Date: Sun, 13 Aug 2017 14:25:37 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 13 August 2017 14:25:59 UTC
To me unreasonable starts when I have to call the API to see if it works. Getters don't work in older webkits that still haunt Android in large numbers, so you cannot use them, because they throw SyntaxErrors which is the worst thing that can happen to feature detection code. I think ergonomics should be a consideration in API design. Here it certainly wasnt and, again, it is a special case because the API change was not backwards compatible. On Aug 13, 2017 12:30 AM, "Anne van Kesteren" <notifications@github.com> wrote: Yeah, that's how you can detect dictionary member support for a large number of APIs. Why is it unreasonable? Also, why don't you use an object literal? Seems a little simpler. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <https://github.com/whatwg/dom/issues/491#issuecomment-322026856>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAFeT9J2hlpXEpB9JpS41yAI6dA9Efdnks5sXqYrgaJpZM4O1eWO> . -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/491#issuecomment-322045283
Received on Sunday, 13 August 2017 14:25:59 UTC