From 84ab5bd2b062934df37608750157c2e1b683d1b0 Mon Sep 17 00:00:00 2001 From: Rachel Andrew Date: Tue, 13 Jul 2021 13:52:24 +0100 Subject: [PATCH 1/3] adds spec data to MIDI interfaces --- api/MIDIAccess.json | 54 ++++-------------------------------- api/MIDIConnectionEvent.json | 2 ++ api/MIDIInput.json | 3 ++ api/MIDIMessageEvent.json | 2 ++ 4 files changed, 12 insertions(+), 49 deletions(-) diff --git a/api/MIDIAccess.json b/api/MIDIAccess.json index 0cf1912e2c3003..c24356e79ae6cc 100644 --- a/api/MIDIAccess.json +++ b/api/MIDIAccess.json @@ -51,6 +51,7 @@ "inputs": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIAccess/inputs", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midiaccess-inputs", "support": { "chrome": { "version_added": "43" @@ -98,6 +99,8 @@ }, "onstatechange": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIAccess/onstatechange", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midiaccess-onstatechange", "support": { "chrome": { "version_added": "43" @@ -146,6 +149,7 @@ "outputs": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIAccess/outputs", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midiaccess-outputs", "support": { "chrome": { "version_added": "43" @@ -191,58 +195,10 @@ } } }, - "statechange_event": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIAccess/statechange_event", - "description": "statechange event", - "support": { - "chrome": { - "version_added": "43" - }, - "chrome_android": { - "version_added": "43" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": null - }, - "opera_android": { - "version_added": null - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "4.0" - }, - "webview_android": { - "version_added": "43" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } - }, "sysexEnabled": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIAccess/sysexEnabled", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midiaccess-sysexenabled", "support": { "chrome": { "version_added": "45" diff --git a/api/MIDIConnectionEvent.json b/api/MIDIConnectionEvent.json index 2814ce740c40ff..96719bbeef5c34 100644 --- a/api/MIDIConnectionEvent.json +++ b/api/MIDIConnectionEvent.json @@ -51,6 +51,7 @@ "MIDIConnectionEvent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIConnectionEvent/MIDIConnectionEvent", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midiconnectionevent-constructor", "description": "MIDIConnectionEvent() constructor", "support": { "chrome": { @@ -100,6 +101,7 @@ "port": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIConnectionEvent/port", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midiconnectionevent-port", "support": { "chrome": { "version_added": "43" diff --git a/api/MIDIInput.json b/api/MIDIInput.json index df7b8b692b2dcc..178dfc69f39683 100644 --- a/api/MIDIInput.json +++ b/api/MIDIInput.json @@ -51,6 +51,7 @@ "midimessage_event": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIInput/midimessage_event", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midimessageevent", "description": "midimessage event", "support": { "chrome": { @@ -99,6 +100,8 @@ }, "onmidimessage": { "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIInput/onmidimessage", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midiinput-onmidimessage", "support": { "chrome": { "version_added": "43" diff --git a/api/MIDIMessageEvent.json b/api/MIDIMessageEvent.json index ab24477b4efab2..78d7ca069b68a1 100644 --- a/api/MIDIMessageEvent.json +++ b/api/MIDIMessageEvent.json @@ -51,6 +51,7 @@ "MIDIMessageEvent": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIMessageEvent/MIDIMessageEvent", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midimessageevent-constructor", "description": "MIDIMessageEvent() constructor", "support": { "chrome": { @@ -100,6 +101,7 @@ "data": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIMessageEvent/data", + "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midimessageevent-data", "support": { "chrome": { "version_added": "43" From 200a4ace796bd740d6f356ea0d7f265ea9c9b888 Mon Sep 17 00:00:00 2001 From: Rachel Andrew Date: Thu, 15 Jul 2021 10:33:11 +0100 Subject: [PATCH 2/3] Put back statechange event --- api/MIDIAccess.json | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/api/MIDIAccess.json b/api/MIDIAccess.json index c24356e79ae6cc..cfcc9ae304a67e 100644 --- a/api/MIDIAccess.json +++ b/api/MIDIAccess.json @@ -195,6 +195,55 @@ } } }, + "statechange_event": { + "__compat": { + "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIAccess/statechange_event", + "description": "statechange event", + "support": { + "chrome": { + "version_added": "43" + }, + "chrome_android": { + "version_added": "43" + }, + "edge": { + "version_added": "≤79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": null + }, + "opera_android": { + "version_added": null + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": "4.0" + }, + "webview_android": { + "version_added": "43" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "sysexEnabled": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIAccess/sysexEnabled", From 86c6c2cdf00c7e5db929abf703fe8a5a5659e514 Mon Sep 17 00:00:00 2001 From: Rachel Andrew Date: Fri, 16 Jul 2021 08:24:37 +0100 Subject: [PATCH 3/3] remove incorrect link --- api/MIDIInput.json | 1 - 1 file changed, 1 deletion(-) diff --git a/api/MIDIInput.json b/api/MIDIInput.json index 178dfc69f39683..7a8eb08b2aceaf 100644 --- a/api/MIDIInput.json +++ b/api/MIDIInput.json @@ -51,7 +51,6 @@ "midimessage_event": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/MIDIInput/midimessage_event", - "spec_url": "https://webaudio.github.io/web-midi-api/#dom-midimessageevent", "description": "midimessage event", "support": { "chrome": {