dontcallmedom / mdn-gaps

Exploration of gaps in MDN/BCD coverage
https://dontcallmedom.github.io/mdn-gaps/
3 stars 1 forks source link

Children of AudioParamMap missing #1

Open teoli2003 opened 1 year ago

teoli2003 commented 1 year ago

There may be a good reason, but I think the properties and methods of

https://developer.mozilla.org/en-US/docs/Web/API/AudioParamMap

should be listed as missing. They have a BCD entry and are supported by 3 engines.

Note that they are defined via a maplike<> webidl type, but it was difficult to get a correct spec link: https://webaudio.github.io/web-audio-api/#AudioWorkletNode is the closest link I was able to get.

dontcallmedom commented 1 year ago

Looking at a few other examples of maplike interfaces:

It feels like there probably should be first and foremost a discussion on how to handle maplike interfaces in MDN pages, before trying to detect gaps. As an aside, I'm not sure there is a lot of value in displaying the BCD-availability of the "inherited" attributes and methods - I think it's safe to say that if a maplike interface is implemented in a browser, they'll get automatically get the relevant Map members.

teoli2003 commented 1 year ago

Yes, we have a consensus for constructors, serializers and stringifiers; we need to agree how to display maplike and setlike in BCD.