Skip to content

Commit

Permalink
Add media.devices.enumerate.legacy.enabled pref.
Browse files Browse the repository at this point in the history
For now legacy is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D154139

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1528042
gecko-commit: b47fdabb6f8659aa7671ee9c9b83668bfe307914
gecko-reviewers: karlt
  • Loading branch information
jan-ivar authored and SkyBlack1225 committed Oct 24, 2023
1 parent 73652ec commit 1095675
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
const outputDevices = devices.filter(info => info.kind == "audiooutput");
assert_equals(outputDevices.length, 1, "number of audiooutput devices.");
assert_not_equals(selected, undefined);
const info = outputDevices[0];
assert_equals(info.deviceId, selected.deviceId);
assert_equals(info.groupId, selected.groupId);
assert_equals(info.label, selected.label);
const [info] = outputDevices;
assert_equals(info.deviceId, selected.deviceId, "deviceId exposed");
assert_equals(info.groupId, selected.groupId, "groupId exposed");
assert_equals(info.label, selected.label, "label exposed");
}, "enumerateDevices() after selectAudioOutput()");
</script>

0 comments on commit 1095675

Please sign in to comment.