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

tabatkins left a comment (whatwg/webidl#107)

Has it been considered for us to just attach the "supported config" method to the option-taking method itself? Like `window.addEventListener.supportedOptions.has("get")`? I'm just hoping for something we can define that happens via WebIDL for all methods automatically, rather than something that requires bespoke handling.

(A decade ago I suggested [exposing the dictionaries on the global](https://github.com/whatwg/webidl/issues/107#issuecomment-207624461) to similarly achieve automatic support, but that didn't seem particularly popular.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/107#issuecomment-6417682780
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/107/6417682780@github.com>

Received on Monday, 26 October 2026 13:51:58 UTC