browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

Remove MediaTrack dictionaries from BCD

Open queengooborg opened this issue 1 year ago • 2 comments

This PR removes the MediaTrackConstraints, MediaTrackSettings, and MediaTrackSupportedConstraints dictionaries from BCD. These are a type (ex. a dictionary, enum, mixin, constant or WebIDL typedef) that we have explicitly stated not to document separately from the feature(s) that depend on it, as they are virtually invisible to the end developer.

Coverage Increase: removes 42 features, increasing collector coverage from 89.48% to 89.75%

queengooborg avatar Dec 28 '23 05:12 queengooborg

@queengooborg @Elchi3 SO does this mean that you have merged the compatibility data into the places where this data is used? Such as if you remove MediaTrackSupportedConstraints then the data would have to be captured as an update to BCD for MediaDevices.getSupportedConstraints() indicating the different versions in which the properties in the return value were added. Similar for the other cases. Otherwise we're throwing away useful compat data that would be hard to test for. Ditto for the other dictionaries.

hamishwillee avatar Apr 09 '24 00:04 hamishwillee

Content changes have now been merged!

queengooborg avatar May 14 '24 06:05 queengooborg