dom/media/webspeech/synth/test/file_speech_repeating_utterance.html
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Sat, 28 May 2022 19:01:45 +0000
changeset 619114 aebf5d6aabfedd693883dc66c07ed2a7b9400e02
parent 528310 320b571a080134bb5010c4a388e6f87a7a633306
permissions -rw-r--r--
no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD be -> e9eb8563dd39caa07b952fc911aa0d7589e3c1a1 cs -> 2951ec6c6b4b25f8ec37f31e924fe07f87f2f686 de -> 9a5568129053b7d9fb96218ff5a094102c738571 el -> a7a39bd557e81e34005a513d68184e812e5a5b20 it -> 8cfd2549b29e0f04c148f245095572bf2b9d3d36 kk -> 2d89f14eb74196370dd22017f18fceb68f694d57 ru -> e14e0886c9e7c4ab445042e770c3dee202dc3e48

<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Test for Bug 1305344: Utterance not repeating in Firefox</title>
  <script type="application/javascript">
    window.SimpleTest = parent.SimpleTest;
    window.ok = parent.ok;
  </script>
  <script src="common.js"></script>
</head>
<body>
  <script>
    var utterance = new SpeechSynthesisUtterance("repeating?");
    var counter = 0;
    utterance.addEventListener('start', function(e) {
      if (counter++ === 1) {
        ok(true)
        SimpleTest.finish();
      }
    });
    speechSynthesis.speak(utterance);
    speechSynthesis.speak(utterance);
  </script>
</body>
</html>