Closed Bug 1504082 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 13845 - Add extra utilities to content::media_constraints

Categories

(Core :: Audio/Video: MediaStreamGraph, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 13845 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/13845
Details from upstream follow.

Guido Urdaneta <guidou@chromium.org> wrote:
>  Add extra utilities to content::media_constraints
>  
>  This CL adds:
>  * NumericRangeSet::Contains().
>  * ResolutionSet::FromNativeResolution().
>  
>  These utilities are in preparation for supporting the resizeMode
>  constrainable property in getUserMedia() and applyConstraints().
>  
>  Drive-by: minor fixes/improvements.
>  
>  Bug: 854980
>  Change-Id: I858f406308aa9bba40521d5e740219b72e2c8a48
>  Reviewed-on: https://chromium-review.googlesource.com/1308133
>  WPT-Export-Revision: a2c26d4d75377661ebd9aa1fb22a59bc6f38df39
PR 13845 applied with additional changes from upstream: dcf7730d7300f236459aa20990e14d46f3517916
Component: web-platform-tests → Audio/Video: MediaStreamGraph
Product: Testing → Core
Ran 1 tests and 21 subtests
OK     : 1
PASS   : 2
FAIL   : 19

New tests that have failures or other problems:
/mediacapture-streams/MediaStreamTrack-getSettings.https.html
    aspectRatio is reported by getSettings() for getUserMedia() video tracks: FAIL
    autoGainControl is reported by getSettings() for getUserMedia() audio tracks: FAIL
    channelCount is reported by getSettings() for getUserMedia() audio tracks: FAIL
    deviceId is reported by getSettings() for getUserMedia() audio tracks: FAIL
    deviceId is reported by getSettings() for getUserMedia() video tracks: FAIL
    echoCancellation is reported by getSettings() for getUserMedia() audio tracks: FAIL
    frameRate is reported by getSettings() for getUserMedia() video tracks: FAIL
    groupId is reported by getSettings() for getUserMedia() audio tracks: FAIL
    groupId is reported by getSettings() for getUserMedia() video tracks: FAIL
    height is reported by getSettings() for getUserMedia() video tracks: FAIL
    latency is reported by getSettings() for getUserMedia() audio tracks: FAIL
    noiseSuppression is reported by getSettings() for getUserMedia() audio tracks: FAIL
    resizeMode is reported by getSettings() for getUserMedia() video tracks: FAIL
    sampleRate is reported by getSettings() for getUserMedia() audio tracks: FAIL
    sampleSize is reported by getSettings() for getUserMedia() audio tracks: FAIL
    volume is reported by getSettings() for getUserMedia() audio tracks: FAIL
    width is reported by getSettings() for getUserMedia() video tracks: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ed3d398d0e21
[wpt PR 13845] - Add extra utilities to content::media_constraints, a=testonly
https://hg.mozilla.org/mozilla-central/rev/ed3d398d0e21
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.