Skip to content

Commit

Permalink
Remove Constrain[Boolean/DOMString/ULong] and [Double/ULong]Range (#7319
Browse files Browse the repository at this point in the history
)
  • Loading branch information
queengooborg authored Jul 27, 2021
1 parent ed00fe6 commit 4d2a2f3
Show file tree
Hide file tree
Showing 24 changed files with 104 additions and 362 deletions.
13 changes: 9 additions & 4 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7162,10 +7162,13 @@
/en-US/docs/Web/API/ConstantSourceNode/onended /en-US/docs/Web/API/AudioScheduledSourceNode/onended
/en-US/docs/Web/API/ConstantSourceNode/start /en-US/docs/Web/API/AudioScheduledSourceNode/start
/en-US/docs/Web/API/ConstantSourceNode/stop /en-US/docs/Web/API/AudioScheduledSourceNode/stop
/en-US/docs/Web/API/ConstrainBooleanParameters /en-US/docs/Web/API/ConstrainBoolean
/en-US/docs/Web/API/ConstrainDOMStringParameters /en-US/docs/Web/API/ConstrainDOMString
/en-US/docs/Web/API/ConstrainBoolean /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/ConstrainBooleanParameters /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/ConstrainDOMString /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/ConstrainDOMStringParameters /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/ConstrainDouble /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/ConstrainLong /en-US/docs/Web/API/ConstrainULong
/en-US/docs/Web/API/ConstrainLong /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/ConstrainULong /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/Constraint_validation/invalid_event /en-US/docs/Web/API/HTMLInputElement/invalid_event
/en-US/docs/Web/API/ConvolverNode.buffer /en-US/docs/Web/API/ConvolverNode/buffer
/en-US/docs/Web/API/ConvolverNode.normalize /en-US/docs/Web/API/ConvolverNode/normalize
Expand Down Expand Up @@ -7331,6 +7334,7 @@
/en-US/docs/Web/API/Document_Object_Model/Events /en-US/docs/Learn/JavaScript/Building_blocks/Events
/en-US/docs/Web/API/Document_Object_Model/Preface /en-US/docs/Web/API/Document_Object_Model
/en-US/docs/Web/API/Document_Object_Model/Whitespace_in_the_DOM /en-US/docs/Web/API/Document_Object_Model/Whitespace
/en-US/docs/Web/API/DoubleRange /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/DynamicsCompressorNode.attack /en-US/docs/Web/API/DynamicsCompressorNode/attack
/en-US/docs/Web/API/DynamicsCompressorNode.knee /en-US/docs/Web/API/DynamicsCompressorNode/knee
/en-US/docs/Web/API/DynamicsCompressorNode.ratio /en-US/docs/Web/API/DynamicsCompressorNode/ratio
Expand Down Expand Up @@ -7958,7 +7962,7 @@
/en-US/docs/Web/API/LockedFile.readAsText /en-US/docs/Web/API/LockedFile/readAsText
/en-US/docs/Web/API/LockedFile.truncate /en-US/docs/Web/API/LockedFile/truncate
/en-US/docs/Web/API/LockedFile.write /en-US/docs/Web/API/LockedFile/write
/en-US/docs/Web/API/LongRange /en-US/docs/Web/API/ULongRange
/en-US/docs/Web/API/LongRange /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/MSContentZoom /en-US/docs/Web/API/Element/msContentZoom_event
/en-US/docs/Web/API/MSLaunchUri /en-US/docs/Web/API/Navigator/msLaunchUri
/en-US/docs/Web/API/MSManipulationStateChanged /en-US/docs/Web/API/Element/MSManipulationStateChanged_event
Expand Down Expand Up @@ -8674,6 +8678,7 @@
/en-US/docs/Web/API/UIEvent.which /en-US/docs/Web/API/KeyboardEvent/which
/en-US/docs/Web/API/UIEvent/UIEvent.detail /en-US/docs/Web/API/UIEvent/detail
/en-US/docs/Web/API/UIEvent/cancelBubble /en-US/docs/Web/API/Event/cancelBubble
/en-US/docs/Web/API/ULongRange /en-US/docs/Web/API/MediaTrackConstraints
/en-US/docs/Web/API/URL.URL /en-US/docs/Web/API/URL/URL
/en-US/docs/Web/API/URL.createObjectURL /en-US/docs/Web/API/URL/createObjectURL
/en-US/docs/Web/API/URL.revokeObjectURL /en-US/docs/Web/API/URL/revokeObjectURL
Expand Down
37 changes: 0 additions & 37 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -34356,29 +34356,6 @@
"fscholz"
]
},
"Web/API/ConstrainBoolean": {
"modified": "2020-10-15T21:49:41.944Z",
"contributors": [
"sideshowbarker",
"lucian95",
"Sheppy"
]
},
"Web/API/ConstrainDOMString": {
"modified": "2020-10-18T18:07:45.437Z",
"contributors": [
"taylorjdawson",
"sideshowbarker",
"lucian95",
"Sheppy"
]
},
"Web/API/ConstrainULong": {
"modified": "2020-10-15T22:26:33.190Z",
"contributors": [
"sideshowbarker"
]
},
"Web/API/Constraint_validation": {
"modified": "2019-12-02T00:01:55.418Z",
"contributors": [
Expand Down Expand Up @@ -40466,14 +40443,6 @@
"Gor1"
]
},
"Web/API/DoubleRange": {
"modified": "2020-10-15T21:49:40.615Z",
"contributors": [
"sideshowbarker",
"fscholz",
"Sheppy"
]
},
"Web/API/DragEvent": {
"modified": "2020-10-15T21:29:10.598Z",
"contributors": [
Expand Down Expand Up @@ -82262,12 +82231,6 @@
"cbiesinger"
]
},
"Web/API/ULongRange": {
"modified": "2020-10-15T22:26:35.933Z",
"contributors": [
"sideshowbarker"
]
},
"Web/API/URL": {
"modified": "2020-11-13T08:34:10.433Z",
"contributors": [
Expand Down
53 changes: 0 additions & 53 deletions files/en-us/web/api/constrainboolean/index.html

This file was deleted.

59 changes: 0 additions & 59 deletions files/en-us/web/api/constraindomstring/index.html

This file was deleted.

53 changes: 0 additions & 53 deletions files/en-us/web/api/constrainulong/index.html

This file was deleted.

49 changes: 0 additions & 49 deletions files/en-us/web/api/doublerange/index.html

This file was deleted.

24 changes: 12 additions & 12 deletions files/en-us/web/api/inputdeviceinfo/getcapabilities/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,38 +27,38 @@ <h3 id="Returns">Return value</h3>

<dl>
<dt><code>deviceId</code></dt>
<dd>A {{domxref("ConstrainDOMString")}} object containing the device ID.</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainDOMString"><code>ConstrainDOMString</code></a> object containing the device ID.</dd>
<dt><code>groudId</code></dt>
<dd>A {{domxref("ConstrainDOMString")}} object containing a group ID.</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainDOMString"><code>ConstrainDOMString</code></a> object containing a group ID.</dd>
<dt><code>autoGainControl</code>></dt>
<dd>A {{domxref("ConstrainBoolean")}} object reporting if the source can do auto gain control.
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainBoolean"><code>ConstrainBoolean</code></a> object reporting if the source can do auto gain control.
If the feature can be controlled by a script the source will report both true and false as possible values.</dd>
<dt><code>channelCount</code></dt>
<dd>A {{domxref("ConstrainULong")}} containing the channel count or range of channel counts.</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainULong"><code>ConstrainULong</code></a> containing the channel count or range of channel counts.</dd>
<dt><code>echoCancellation</code></dt>
<dd>A {{domxref("ConstrainBoolean")}} object reporting if the source can do echo cancellation.
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainBoolean"><code>ConstrainBoolean</code></a> object reporting if the source can do echo cancellation.
If the feature can be controlled by a script the source will report both true and false as possible values.</dd>
<dt><code>latency</code></dt>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainDouble"><code>ConstrainDouble</code></a> containing the latency or range of latencies.</dd>
<dt><code>noiseSuppression</code></dt>
<dd>A {{domxref("ConstrainBoolean")}} object reporting if the source can do noise suppression.
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainBoolean"><code>ConstrainBoolean</code></a> object reporting if the source can do noise suppression.
If the feature can be controlled by a script the source will report both true and false as possible values.</dd>
<dt><code>sampleRate</code></dt>
<dd>A {{domxref("ConstrainULong")}} containing the sample rate or range of sample rates.</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainULong"><code>ConstrainULong</code></a> containing the sample rate or range of sample rates.</dd>
<dt><code>sampleSize</code></dt>
<dd>A {{domxref("ConstrainULong")}} containing the sample size or range of sample sizes.</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainULong"><code>ConstrainULong</code></a> containing the sample size or range of sample sizes.</dd>
<dt><code>aspectRatio</code></dt>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainDouble"><code>ConstrainDouble</code></a> containing the video aspect ratio (width in pixels divided by height in pixels) or range of aspect ratios.</dd>
<dt><code>facingMode</code></dt>
<dd>A {{domxref("ConstrainDOMString")}} object containing the camera facing mode. A camera may report multiple facings, for example "left" and "user".</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainDOMString"><code>ConstrainDOMString</code></a> object containing the camera facing mode. A camera may report multiple facings, for example "left" and "user".</dd>
<dt><code>frameRate</code></dt>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainDouble"><code>ConstrainDouble</code></a> containing the frame rate or range of frame rates which are acceptable.</dd>
<dt><code>height</code></dt>
<dd>A {{domxref("ConstrainULong")}} containing the video height or range of heights in pixels.</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainULong"><code>ConstrainULong</code></a> containing the video height or range of heights in pixels.</dd>
<dt><code>width</code></dt>
<dd>A {{domxref("ConstrainULong")}} containing the video width or range of widths in pixels.</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainULong"><code>ConstrainULong</code></a> containing the video width or range of widths in pixels.</dd>
<dt><code>resizeMode</code></dt>
<dd>A {{domxref("ConstrainDOMString")}} object containing the mode or an array of modes the UA can use to derive the resolution of the video track.</dd>
<dd>A <a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainDOMString"><code>ConstrainDOMString</code></a> object containing the mode or an array of modes the UA can use to derive the resolution of the video track.</dd>
</dl>

<div class="notecard note">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<p>The {{domxref("MediaTrackConstraints")}} dictionary's
<code><strong>autoGainControl</strong></code> property is a
{{domxref("ConstrainBoolean")}} describing the requested or mandatory constraints placed
<a href="/en-US/docs/Web/API/MediaTrackConstraints#ConstrainBoolean"><code>ConstrainBoolean</code></a> describing the requested or mandatory constraints placed
upon the value of the {{domxref("MediaTrackSettings.autoGainControl",
"autoGainControl")}} constrainable property.</p>

Expand Down
Loading

0 comments on commit 4d2a2f3

Please sign in to comment.