diff --git a/testing/web-platform/tests/interfaces/webaudio.idl b/testing/web-platform/tests/interfaces/webaudio.idl index 14bb62b8aaaf..4f1914dbae23 100644 --- a/testing/web-platform/tests/interfaces/webaudio.idl +++ b/testing/web-platform/tests/interfaces/webaudio.idl @@ -48,7 +48,6 @@ interface BaseAudioContext : EventTarget { Promise decodeAudioData (ArrayBuffer audioData, optional DecodeSuccessCallback? successCallback, optional DecodeErrorCallback? errorCallback); - Promise resume (); }; enum AudioContextLatencyCategory { @@ -63,6 +62,7 @@ interface AudioContext : BaseAudioContext { readonly attribute double baseLatency; readonly attribute double outputLatency; AudioTimestamp getOutputTimestamp (); + Promise resume (); Promise suspend (); Promise close (); MediaElementAudioSourceNode createMediaElementSource (HTMLMediaElement mediaElement); @@ -86,6 +86,7 @@ dictionary AudioTimestamp { Constructor (unsigned long numberOfChannels, unsigned long length, float sampleRate)] interface OfflineAudioContext : BaseAudioContext { Promise startRendering(); + Promise resume(); Promise suspend(double suspendTime); readonly attribute unsigned long length; attribute EventHandler oncomplete;