mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1058922 - Disable Speech APIs in prerendering; r=jst
--HG-- extra : amend_source : eae9649cecf94a998249ddcf6139efd4eadbb92d
This commit is contained in:
parent
fa82df7ce1
commit
af560191f4
@ -28,7 +28,7 @@ interface SpeechRecognition : EventTarget {
|
||||
attribute DOMString serviceURI;
|
||||
|
||||
// methods to drive the speech interaction
|
||||
[Throws]
|
||||
[Throws, UnsafeInPrerendering]
|
||||
void start(optional MediaStream stream);
|
||||
void stop();
|
||||
void abort();
|
||||
|
@ -16,9 +16,11 @@ interface SpeechSynthesis {
|
||||
readonly attribute boolean speaking;
|
||||
readonly attribute boolean paused;
|
||||
|
||||
[UnsafeInPrerendering]
|
||||
void speak(SpeechSynthesisUtterance utterance);
|
||||
void cancel();
|
||||
void pause();
|
||||
[UnsafeInPrerendering]
|
||||
void resume();
|
||||
sequence<SpeechSynthesisVoice> getVoices();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user