Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

/* Any copyright is dedicated to the Public Domain.
"use strict";
/* import-globals-from head-multiple.js */
Services.scriptloader.loadSubScript(
this
);
add_setup(async function checkAudioDecodingNonUtility() {
const isAudioDecodingNonUtilityAllowed = await SpecialPowers.getBoolPref(
"media.allow-audio-non-utility"
);
ok(isAudioDecodingNonUtilityAllowed, "Audio decoding has been allowed");
});
add_task(async function testFallbackAudioDecodingInRDD() {
await runTest({ expectUtility: false, expectError: false });
});