From 73ab34187fa446c0dd7d45d3c9ef8b437e66411f Mon Sep 17 00:00:00 2001 From: autofoolip <40241672+autofoolip@users.noreply.github.com> Date: Wed, 26 Sep 2018 10:47:00 +0000 Subject: [PATCH] Bug 1493443 [wpt PR 13170] - Update interfaces/webaudio.idl, a=testonly Automatic update from web-platform-testsUpdate interfaces/webaudio.idl (#13170) Source: https://github.com/tidoust/reffy-reports/blob/c1b283c/whatwg/idl/webaudio.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/431787852 -- wpt-commits: b17c53f398ac20d4ab4f023a31d465c9f4756a05 wpt-pr: 13170 --- testing/web-platform/tests/interfaces/webaudio.idl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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<AudioBuffer> decodeAudioData (ArrayBuffer audioData, optional DecodeSuccessCallback? successCallback, optional DecodeErrorCallback? errorCallback); - Promise<void> resume (); }; enum AudioContextLatencyCategory { @@ -63,6 +62,7 @@ interface AudioContext : BaseAudioContext { readonly attribute double baseLatency; readonly attribute double outputLatency; AudioTimestamp getOutputTimestamp (); + Promise<void> resume (); Promise<void> suspend (); Promise<void> close (); MediaElementAudioSourceNode createMediaElementSource (HTMLMediaElement mediaElement); @@ -86,6 +86,7 @@ dictionary AudioTimestamp { Constructor (unsigned long numberOfChannels, unsigned long length, float sampleRate)] interface OfflineAudioContext : BaseAudioContext { Promise<AudioBuffer> startRendering(); + Promise<void> resume(); Promise<void> suspend(double suspendTime); readonly attribute unsigned long length; attribute EventHandler oncomplete;