content/media/webspeech/synth/ipc/test/test_ipc.html
author Peter Van der Beken <peterv@propagandism.org>
Sat, 15 Feb 2014 22:12:35 +0100
changeset 181843 cdd53387bf1a4e03c800483430567808662243e6
parent 142329 0f21776e01b99b87877b1c24c30690cbc9b7548b
permissions -rw-r--r--
Fix js/xpconnect/tests/chrome/test_bug853571.xul and use SpecialPowers more. * * * Fix webspeech tests to work with Window on WebIDL bindings.

<!DOCTYPE HTML>
<html>
<head>
  <title>Test for OOP TTS</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
  <body>
  <iframe id="testFrame"></iframe>
  <script type="application/javascript;version=1.7">
    SimpleTest.waitForExplicitFinish();

    SpecialPowers.pushPrefEnv({ set: [['media.webspeech.synth.enabled', true]] },
                              function() { document.getElementById("testFrame").src = "file_ipc.html"; });
  </script>
</body>
</html>