| Index: core/fileapi/Stream.idl
|
| diff --git a/modules/webmidi/MIDIMessageEvent.idl b/core/fileapi/Stream.idl
|
| similarity index 80%
|
| copy from modules/webmidi/MIDIMessageEvent.idl
|
| copy to core/fileapi/Stream.idl
|
| index 5a9c05f7d92179dce7fc2d5a810f256d7b424eb2..7caf013411b2dc4c081f1d29e011e9b074f7f4c8 100644
|
| --- a/modules/webmidi/MIDIMessageEvent.idl
|
| +++ b/core/fileapi/Stream.idl
|
| @@ -28,12 +28,16 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -// FIXME: The spec doesn't provide details about constructor, yet.
|
| -// See also, https://github.com/WebAudio/web-midi-api/issues/1 .
|
| +// FIXME: close() method which is necessary for Stream building feature
|
| +// is omitted for now. Add it when necessary.
|
| +//
|
| +// FIXME: Add a flag to indicate if this stream frees memory when read or not
|
| +// (e.g. boolean isReadOnce()).
|
| +//
|
| +// FIXME: Make the Blob a subclass of the Stream.
|
| +
|
| [
|
| - NoInterfaceObject,
|
| - ConstructorTemplate=Event
|
| -] interface MIDIMessageEvent : Event {
|
| - [InitializedByEventConstructor] readonly attribute double receivedTime;
|
| - [InitializedByEventConstructor] readonly attribute Uint8Array data;
|
| + EnabledAtRuntime=stream
|
| +] interface Stream {
|
| + readonly attribute DOMString type;
|
| };
|
|
|