Re: [heycam/webidl] Need pattern for feature detecting dictionary members (#107)

@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