tor-browser

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

test_speech_queue.html (996B)


      1 <!DOCTYPE HTML>
      2 <html lang="en-US">
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=525444
      5 -->
      6 <head>
      7  <meta charset="utf-8">
      8  <title>Test for Bug 525444: Web Speech API, check speech synth queue</title>
      9  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     10  <script type="application/javascript" src="common.js"></script>
     11  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     12 </head>
     13 <body>
     14 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=525444">Mozilla Bug 525444</a>
     15 <p id="display"></p>
     16 <iframe id="testFrame"></iframe>
     17 <div id="content" style="display: none">
     18  
     19 </div>
     20 <pre id="test">
     21 <script type="application/javascript">
     22 
     23 /** Test for Bug 525444 */
     24 
     25 SimpleTest.waitForExplicitFinish();
     26 
     27 SpecialPowers.pushPrefEnv(
     28  { set: [['media.webspeech.synth.enabled', true],
     29          ['media.webspeech.synth.force_global_queue', false]] },
     30  function() {
     31    loadSpeechTest("file_speech_queue.html");
     32  });
     33 
     34 </script>
     35 </pre>
     36 </body>
     37 </html>