Source code
Revision control
Copy as Markdown
Other Tools
<html>
<script>
var frameUnloaded = function() {
var u = new SpeechSynthesisUtterance('hi');
u.addEventListener('end', function () {
opener.ok(true, 'Successfully spoke utterance from new frame.');
opener.onDone();
});
speechSynthesis.speak(u);
};
</script>
<body onpageshow="frameUnloaded()"></body></html>