tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_android_audio.html (753B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>Audio decoder in Utility process (AAC)</title>
      5  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      6  <script src="head.js"></script>
      7  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
      8 </head>
      9 <body>
     10 <pre id="test">
     11 <script type="text/javascript">
     12 SimpleTest.waitForExplicitFinish();
     13 
     14 (async function() {
     15  // FIXME: Remove all after Bug 1934009
     16  for (let src of [
     17    "small-shot.m4a",
     18  ]) {
     19    try {
     20      await runMochitestUtilityAudio(src, { expectUtility: "", expectDecoder: "android decoder", expectContent: false, expectJava: true });
     21    } catch (ex) {
     22      ok(false, `Failure for ${src} ${ex}`);
     23    }
     24  }
     25 
     26  SimpleTest.finish();
     27 })();
     28 </script>
     29 </pre>
     30 </body>
     31 </html>