mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 03:47:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
32
dom/media/webspeech/synth/crashtests/1230428.html
Normal file
32
dom/media/webspeech/synth/crashtests/1230428.html
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<script type="application/javascript">
|
||||
function f()
|
||||
{
|
||||
if (speechSynthesis.getVoices().length == 0) {
|
||||
// No synthesis backend to test this
|
||||
document.documentElement.removeAttribute('class');
|
||||
return;
|
||||
}
|
||||
|
||||
var s = new SpeechSynthesisUtterance("hello world");
|
||||
s.onerror = () => {
|
||||
// No synthesis backend to test this
|
||||
document.documentElement.removeAttribute('class');
|
||||
return;
|
||||
}
|
||||
s.onend = () => {
|
||||
document.documentElement.removeAttribute('class');
|
||||
};
|
||||
speechSynthesis.speak(s);
|
||||
speechSynthesis.cancel();
|
||||
speechSynthesis.pause();
|
||||
speechSynthesis.resume();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="f();">
|
||||
</body>
|
||||
</html>
|
||||
1
dom/media/webspeech/synth/crashtests/crashtests.list
Normal file
1
dom/media/webspeech/synth/crashtests/crashtests.list
Normal file
|
|
@ -0,0 +1 @@
|
|||
skip-if(!cocoaWidget) pref(media.webspeech.synth.enabled,true) load 1230428.html # bug 1230428
|
||||
Loading…
Add table
Add a link
Reference in a new issue