Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'linux' && os_version == '24.04' && processor == 'x86_64' && display == 'x11' && asan
- Manifest: dom/media/webrtc/tests/mochitests/mochitest.toml
<!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>