Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
- This test failed 1 times in the preceding 30 days. quicksearch this test
- Manifest: ipc/glue/test/browser/browser_audio_locked.toml
/* Any copyright is dedicated to the Public Domain.
"use strict";
/* import-globals-from head-multiple.js */
Services.scriptloader.loadSubScript(
this
);
add_setup(async function setup() {
await SpecialPowers.pushPrefEnv({
set: [["media.utility-process.enabled", false]],
});
});
add_task(async function testAudioDecodingInUtility() {
// TODO: When getting rid of audio decoding on non utility at all, this
// should be removed
// We only lock the preference in Nightly builds so far, but on beta we expect
// audio decoding error
await runTest({
expectUtility: isNightlyOnly(),
expectError: !isNightlyOnly(),
});
});