mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
Bug 1554618 [wpt PR 17028] - [MediaStreamTrack] Remove tests and existing support for the 'volume' property., a=testonly
Automatic update from web-platform-tests [MediaStreamTrack] Remove tests and existing support for the 'volume' property. Since 'volume' has been removed from the standard specification[1], this CL removes support for the 'volume' from the output of MediaStreamTrack.getSettings(). Further, this CL removes the related existing tests. Intent to deprecate and remove: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/8-Qn7pu41Kk [1] https://github.com/w3c/mediacapture-main/issues/585 BUG=942016 Change-Id: I8cfcd5d119f79d4da73ee5aa94770f2cd2b7f881 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1630156 Reviewed-by: Guido Urdaneta <guidou@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Armando Miraglia <armax@chromium.org> Cr-Commit-Position: refs/heads/master@{#664126} -- wp5At-commits: e951b47b4c107995e7696ff9db7b2b0bafcde56b wpt-pr: 17028
This commit is contained in:
parent
aa6b22da42
commit
499b5025f4
@ -27,7 +27,6 @@ test(() => {
|
||||
"frameRate",
|
||||
"facingMode",
|
||||
"resizeMode",
|
||||
"volume",
|
||||
"sampleRate",
|
||||
"sampleSize",
|
||||
"echoCancellation",
|
||||
|
@ -5,7 +5,6 @@
|
||||
<script>
|
||||
|
||||
const audioProperties = [
|
||||
{name: "volume", type: "number"},
|
||||
{name: "sampleRate", type: "number"},
|
||||
{name: "sampleSize", type: "number"},
|
||||
{name: "echoCancellation", type: "boolean"},
|
||||
|
@ -91,13 +91,6 @@
|
||||
"groupId should exist and it should be a string.");
|
||||
}, 'groupId is reported by getSettings() for getUserMedia() audio tracks');
|
||||
|
||||
promise_test(async t => {
|
||||
const settings = await createTrackAndGetSettings(t, "audio");
|
||||
assert_equals(typeof(settings.volume), "number",
|
||||
"volume should exist and it should be a number.");
|
||||
assert_between_inclusive(settings.volume, 0.0, 1.0);
|
||||
}, 'volume is reported by getSettings() for getUserMedia() audio tracks');
|
||||
|
||||
promise_test(async t => {
|
||||
const settings = await createTrackAndGetSettings(t, "audio");
|
||||
assert_equals(typeof(settings.sampleRate), "number",
|
||||
|
Loading…
Reference in New Issue
Block a user