dom/media/webspeech/synth/test/test_speech_cancel.html
author Eitan Isaacson <eitan@monotonous.org>
Thu, 24 Mar 2016 16:43:04 -0700
changeset 291120 f7a5b2b77a7787af1d12eb027e84038da6228aa0
parent 256980 ae85c14a2bae38e65b9cfa04b7844574d9a31f86
permissions -rw-r--r--
Bug 1254378 - Update synth tests and introduce no voiceschanged test. r=smaug MozReview-Commit-ID: 6O9bBFGgFFq

<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1150315
-->
<head>
  <meta charset="utf-8">
  <title>Test for Bug 1150315: Web Speech API check all classes are present</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <script type="application/javascript" src="common.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1150315">Mozilla Bug 1150315</a>
<p id="display"></p>
<iframe id="testFrame"></iframe>
<div id="content" style="display: none">

</div>
<pre id="test">
<script type="application/javascript">

/** Test for Bug 1150315 **/

SimpleTest.waitForExplicitFinish();

SpecialPowers.pushPrefEnv(
  { set: [['media.webspeech.synth.enabled', true],
          ['media.webspeech.synth.force_global_queue', false]] },
  function() { loadSpeechTest("file_speech_cancel.html"); });

</script>
</pre>
</body>
</html>