Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE HTML>
<html>
<head>
<script src="mediaStreamPlayback.js"></script>
<script src="testLegacyEnumerateDevices.js"></script>
</head>
<body>
<pre id="test">
<script type="application/javascript">
createHTML({ title: "Run enumerateDevices legacy code", bug: "1528042" });
runTest(async () => {
await withPrefs([["media.navigator.streams.fake", true],
["media.devices.enumerate.legacy.enabled", true]],
testLegacyEnumerateDevices);
});
</script>
</pre>
</body>
</html>