зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1057585 - Disable WebAudio APIs in prerendering; r=jst
This commit is contained in:
Родитель
454ef9cfac
Коммит
3fc5328ed1
|
@ -20,10 +20,10 @@ interface AudioBufferSourceNode : AudioNode {
|
|||
attribute double loopStart;
|
||||
attribute double loopEnd;
|
||||
|
||||
[Throws]
|
||||
[Throws, UnsafeInPrerendering]
|
||||
void start(optional double when = 0, optional double grainOffset = 0,
|
||||
optional double grainDuration);
|
||||
[Throws]
|
||||
[Throws, UnsafeInPrerendering]
|
||||
void stop(optional double when = 0);
|
||||
|
||||
attribute EventHandler onended;
|
||||
|
|
|
@ -45,9 +45,9 @@ interface AudioContext : EventTarget {
|
|||
StereoPannerNode createStereoPanner();
|
||||
[NewObject]
|
||||
AnalyserNode createAnalyser();
|
||||
[NewObject, Throws]
|
||||
[NewObject, Throws, UnsafeInPrerendering]
|
||||
MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement);
|
||||
[NewObject, Throws]
|
||||
[NewObject, Throws, UnsafeInPrerendering]
|
||||
MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream);
|
||||
[NewObject]
|
||||
GainNode createGain();
|
||||
|
|
|
@ -26,9 +26,9 @@ interface OscillatorNode : AudioNode {
|
|||
readonly attribute AudioParam frequency; // in Hertz
|
||||
readonly attribute AudioParam detune; // in Cents
|
||||
|
||||
[Throws]
|
||||
[Throws, UnsafeInPrerendering]
|
||||
void start(optional double when = 0);
|
||||
[Throws]
|
||||
[Throws, UnsafeInPrerendering]
|
||||
void stop(optional double when = 0);
|
||||
void setPeriodicWave(PeriodicWave periodicWave);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче