Allow web developers to aggregate and easily log media settings ranges (max, min, step) in JSON.
Adding toJSON() to MediaSettingsRange will improve developer ergonomics by allowing web developers to easily log and aggregate exposureCompensation, exposureTime, colorTemperature, iso, brightness, contrast, saturation, sharpness, focusDistance, pan, tilt, and zoom.
For info, MediaDeviceInfo returned by navigator.mediaDevices.enumerateDevices() already has a toJSON() method.
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
The feature will be supported on all platforms.
Gecko: No Signal
Webkit: No Signal
Web platform tests will be updated and available at https://wpt.fyi/results/mediacapture-image.