MediaConstraints flag is already stable [1,2] but is used in a few idls [3], which makes it confusing, e.g. in MediaTrackConstraintSet [4]. Consider just removing it and its uses. [1] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5?dr=C&q=runtimeenabled&l=534 [2] https://www.chromestatus.com/feature/5807737287999488 [3] https://cs.chromium.org/search/?q=file:idl+MediaConstraints&type=cs [4] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/mediastream/MediaTrackConstraintSet.idl?q=file:idl+MediaConstraints&dr=C&l=13
After https://crrev.com/2752633002, the same applies to MediaGetSettings, which is Stable now. Consider just removing its use.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6093997931808df404b0350cfa4630a3a8bc6143 commit 6093997931808df404b0350cfa4630a3a8bc6143 Author: mcasas <mcasas@chromium.org> Date: Thu Mar 23 02:57:02 2017 Cleanup: remove some of MediaTrack's stable flags and correct ImageCapture ones This CL removes MediaConstraints and MediaGetSettings since they are stable and they make reading idl's etc verbose when interacting with other, non-stable, flags. Also correction of the use of ImageCapture flag: s/RuntimeEnabled=ImageCapture/OriginTrialEnabled=ImageCapture/ No code changes per se. BUG= 701849 Review-Url: https://codereview.chromium.org/2768653002 Cr-Commit-Position: refs/heads/master@{#458990} [modify] https://crrev.com/6093997931808df404b0350cfa4630a3a8bc6143/third_party/WebKit/Source/modules/mediastream/MediaDevices.idl [modify] https://crrev.com/6093997931808df404b0350cfa4630a3a8bc6143/third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.idl [modify] https://crrev.com/6093997931808df404b0350cfa4630a3a8bc6143/third_party/WebKit/Source/modules/mediastream/MediaTrackCapabilities.idl [modify] https://crrev.com/6093997931808df404b0350cfa4630a3a8bc6143/third_party/WebKit/Source/modules/mediastream/MediaTrackConstraintSet.idl [modify] https://crrev.com/6093997931808df404b0350cfa4630a3a8bc6143/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl [modify] https://crrev.com/6093997931808df404b0350cfa4630a3a8bc6143/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5
Comment 1 by mcasas@chromium.org
, Mar 15 2017