content/media/webspeech/synth/test/test_speech_queue.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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 type="application/javascript" 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">
    19 </div>
    20 <pre id="test">
    21 <script type="application/javascript">
    23 /** Test for Bug 525444 **/
    25 SimpleTest.waitForExplicitFinish();
    27 SpecialPowers.pushPrefEnv({ set: [['media.webspeech.synth.enabled', true]] },
    28                           function() { document.getElementById("testFrame").src = "file_speech_queue.html"; });
    30 </script>
    31 </pre>
    32 </body>
    33 </html>

mercurial