- From: Tristan Fraipont <notifications@github.com>
- Date: Mon, 13 Sep 2021 01:51:25 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 13 September 2021 08:51:37 UTC
@annevk But as has been said previously, "throwing getters" actually do not work or at least they only work in environments that do support an option that is alphabetically after the one you want to test. If you want to test them all, or the last one alphabetically, it will execute the method in environments that don't support this option. As to `.support()`, it works only if there is a single method per interface... ...(💡) Unless we plan to add it on the methods directly? But this still sounds very exotic and I fear we'll still face the "why isn't there an `Intl.numberFormat.support()`" problem, though maybe less prominently, and I guess it would be easier to implement than the global `methodSupports()` 🤔 -- 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-917977300
Received on Monday, 13 September 2021 08:51:37 UTC