Primary eng (and PM) emails
Summary
Remove the media content attribute from the resource selection algorithm:
http://whatwg.org/html#concept-media-load-algorithm
I am not requesting removal of the media IDL attribute on HTMLSourceElement.
Motivation
This feature has extremely low usage and will likely be removed from the spec if some browser removes support:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/QPzFOX3032w/6TxeCtXtafMJ
Usage information from UseCounter
Non-matching media attributes (SourceElementNonMatchingMedia) were encountered in the resource selection algorithm on 0.00003% of pages.
We don't have a counter for HTMLSourceElement.media, but I will add one so that it too can be removed ASAP.
Compatibility Risk
A different source may be selected, which is likely of another resolution, bitrate, etc. Since the next source is tried if decoding fails, there should not be any case where no usable source at all is found.
Row on feature dashboard?
No.
Requesting approval to remove too?
Yes.