зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1504082 [wpt PR 13845] - Add extra utilities to content::media_constraints, a=testonly
Automatic update from web-platform-testsAdd extra utilities to content::media_constraints This CL adds: * NumericRangeSet::Contains(). * NumericRangeSet::EmptySet(). * 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/c/1308133 Reviewed-by: Henrik Boström <hbos@chromium.org> Commit-Queue: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#604574} -- wpt-commits: 5b699ddb3200ce3abc8a2a5059c52235076bde4f wpt-pr: 13845
This commit is contained in:
Родитель
883d572800
Коммит
e9479785fe
|
@ -170,7 +170,7 @@
|
|||
assert_equals(typeof(settings.width), "number",
|
||||
"width should exist and it should be a number.");
|
||||
assert_true(Number.isInteger(settings.width), "width should be an integer.");
|
||||
assert_greater_than_equal(settings.width, 0);
|
||||
assert_greater_than_equal(settings.width, 0);;
|
||||
}, 'width is reported by getSettings() for getUserMedia() video tracks');
|
||||
|
||||
promise_test(async t => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче