summaryrefslogtreecommitdiffstats
path: root/dom/media/webspeech/synth/test/file_bfcache_page1.html
blob: d6229eeedaaf1d0a8b82762bd61bdddf14a80ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <script type="application/javascript">
    addEventListener('pageshow', function onshow(evt) {
      var u = new SpeechSynthesisUtterance('hello');
      u.lang = 'it-IT-noend';
      u.addEventListener('start', function() {
        location = "file_bfcache_page2.html";
      });
      speechSynthesis.speak(u);
    });
  </script>
</head>
<body>
</body>
</html>