Bug 1795025 - Remove early-beta gate from WebMIDI. r=gsvelto

This reverts bug 1765894.

Differential Revision: https://phabricator.services.mozilla.com/D159419
This commit is contained in:
Bobby Holley 2022-10-17 17:20:28 +00:00
parent f8cba5a04a
commit 090cb0c41b
4 changed files with 9 additions and 104 deletions

View file

@ -762,25 +762,21 @@ let interfaceNamesInGlobalScope = [
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MessagePort", insecureContext: true }, { name: "MessagePort", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MIDIAccess", android: false, disabled: !isEarlyBetaOrEarlier }, { name: "MIDIAccess", android: false },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ { name: "MIDIConnectionEvent", android: false },
name: "MIDIConnectionEvent",
android: false,
disabled: !isEarlyBetaOrEarlier,
},
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MIDIInputMap", android: false, disabled: !isEarlyBetaOrEarlier }, { name: "MIDIInputMap", android: false },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MIDIInput", android: false, disabled: !isEarlyBetaOrEarlier }, { name: "MIDIInput", android: false },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MIDIMessageEvent", android: false, disabled: !isEarlyBetaOrEarlier }, { name: "MIDIMessageEvent", android: false },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MIDIOutputMap", android: false, disabled: !isEarlyBetaOrEarlier }, { name: "MIDIOutputMap", android: false },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MIDIOutput", android: false, disabled: !isEarlyBetaOrEarlier }, { name: "MIDIOutput", android: false },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MIDIPort", android: false, disabled: !isEarlyBetaOrEarlier }, { name: "MIDIPort", android: false },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MimeType", insecureContext: true }, { name: "MimeType", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer! // IMPORTANT: Do not change this list without review from a DOM peer!

View file

@ -4419,11 +4419,7 @@
# Whether the WebMIDI API is enabled # Whether the WebMIDI API is enabled
- name: dom.webmidi.enabled - name: dom.webmidi.enabled
type: bool type: bool
#if !defined(MOZ_WIDGET_ANDROID) && defined(EARLY_BETA_OR_EARLIER) value: @IS_NOT_ANDROID@
value: true
#else
value: false
#endif
mirror: always mirror: always
# midi permission is addon-gated # midi permission is addon-gated

View file

@ -1,12 +1,10 @@
[midi-reporting.https.html] [midi-reporting.https.html]
expected: expected:
if os == "android": OK if os == "android": OK
if not early_beta_or_earlier: OK
TIMEOUT TIMEOUT
[MIDI Report Format] [MIDI Report Format]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
TIMEOUT TIMEOUT

View file

@ -2,420 +2,335 @@
[MIDIAccess must be primary interface of access] [MIDIAccess must be primary interface of access]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutputMap interface object name] [MIDIOutputMap interface object name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutput interface: existence and properties of interface prototype object's @@unscopables property] [MIDIOutput interface: existence and properties of interface prototype object's @@unscopables property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutput interface: existence and properties of interface object] [MIDIOutput interface: existence and properties of interface object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInput interface: existence and properties of interface prototype object's @@unscopables property] [MIDIInput interface: existence and properties of interface prototype object's @@unscopables property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInputMap interface: existence and properties of interface prototype object's @@unscopables property] [MIDIInputMap interface: existence and properties of interface prototype object's @@unscopables property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: attribute outputs] [MIDIAccess interface: attribute outputs]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface object length] [MIDIPort interface object length]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInputMap interface: existence and properties of interface object] [MIDIInputMap interface: existence and properties of interface object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: existence and properties of interface object] [MIDIPort interface: existence and properties of interface object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInputMap must be primary interface of inputs] [MIDIInputMap must be primary interface of inputs]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: access must inherit property "outputs" with the proper type] [MIDIAccess interface: access must inherit property "outputs" with the proper type]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIMessageEvent interface: existence and properties of interface prototype object's @@unscopables property] [MIDIMessageEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutputMap interface object length] [MIDIOutputMap interface object length]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInput interface: existence and properties of interface object] [MIDIInput interface: existence and properties of interface object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutputMap interface: existence and properties of interface object] [MIDIOutputMap interface: existence and properties of interface object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: attribute version] [MIDIPort interface: attribute version]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: existence and properties of interface prototype object] [MIDIAccess interface: existence and properties of interface prototype object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInputMap interface: existence and properties of interface prototype object's "constructor" property] [MIDIInputMap interface: existence and properties of interface prototype object's "constructor" property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: attribute onstatechange] [MIDIPort interface: attribute onstatechange]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInputMap interface object length] [MIDIInputMap interface object length]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInput interface: existence and properties of interface prototype object's "constructor" property] [MIDIInput interface: existence and properties of interface prototype object's "constructor" property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: operation open()] [MIDIPort interface: operation open()]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent interface: existence and properties of interface prototype object's "constructor" property] [MIDIConnectionEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutput interface object length] [MIDIOutput interface object length]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: attribute inputs] [MIDIAccess interface: attribute inputs]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[Stringification of inputs] [Stringification of inputs]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInputMap interface object name] [MIDIInputMap interface object name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutputMap interface: existence and properties of interface prototype object's "constructor" property] [MIDIOutputMap interface: existence and properties of interface prototype object's "constructor" property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: access must inherit property "inputs" with the proper type] [MIDIAccess interface: access must inherit property "inputs" with the proper type]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIMessageEvent interface object name] [MIDIMessageEvent interface object name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: access must inherit property "onstatechange" with the proper type] [MIDIAccess interface: access must inherit property "onstatechange" with the proper type]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInputMap interface: existence and properties of interface prototype object] [MIDIInputMap interface: existence and properties of interface prototype object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInput interface object length] [MIDIInput interface object length]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInput interface: existence and properties of interface prototype object] [MIDIInput interface: existence and properties of interface prototype object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: access must inherit property "sysexEnabled" with the proper type] [MIDIAccess interface: access must inherit property "sysexEnabled" with the proper type]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIMessageEvent interface: attribute data] [MIDIMessageEvent interface: attribute data]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent interface: existence and properties of interface prototype object] [MIDIConnectionEvent interface: existence and properties of interface prototype object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[Stringification of outputs] [Stringification of outputs]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: attribute connection] [MIDIPort interface: attribute connection]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutput interface: existence and properties of interface prototype object's "constructor" property] [MIDIOutput interface: existence and properties of interface prototype object's "constructor" property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIMessageEvent interface: existence and properties of interface prototype object's "constructor" property] [MIDIMessageEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutput interface: operation clear()] [MIDIOutput interface: operation clear()]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: operation close()] [MIDIPort interface: operation close()]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: attribute manufacturer] [MIDIPort interface: attribute manufacturer]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutputMap interface: existence and properties of interface prototype object] [MIDIOutputMap interface: existence and properties of interface prototype object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: attribute type] [MIDIPort interface: attribute type]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent interface object length] [MIDIConnectionEvent interface object length]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: existence and properties of interface prototype object's "constructor" property] [MIDIPort interface: existence and properties of interface prototype object's "constructor" property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: existence and properties of interface prototype object's @@unscopables property] [MIDIPort interface: existence and properties of interface prototype object's @@unscopables property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent interface object name] [MIDIConnectionEvent interface object name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: attribute sysexEnabled] [MIDIAccess interface: attribute sysexEnabled]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface object name] [MIDIAccess interface object name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface object length] [MIDIAccess interface object length]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInput interface: attribute onmidimessage] [MIDIInput interface: attribute onmidimessage]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: attribute onstatechange] [MIDIAccess interface: attribute onstatechange]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: existence and properties of interface object] [MIDIAccess interface: existence and properties of interface object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIMessageEvent interface: existence and properties of interface object] [MIDIMessageEvent interface: existence and properties of interface object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent interface: attribute port] [MIDIConnectionEvent interface: attribute port]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: attribute name] [MIDIPort interface: attribute name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent interface: existence and properties of interface prototype object's @@unscopables property] [MIDIConnectionEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: existence and properties of interface prototype object] [MIDIPort interface: existence and properties of interface prototype object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[Stringification of new MIDIConnectionEvent("type")] [Stringification of new MIDIConnectionEvent("type")]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent interface: new MIDIConnectionEvent("type") must inherit property "port" with the proper type] [MIDIConnectionEvent interface: new MIDIConnectionEvent("type") must inherit property "port" with the proper type]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutput interface object name] [MIDIOutput interface object name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: existence and properties of interface prototype object's "constructor" property] [MIDIAccess interface: existence and properties of interface prototype object's "constructor" property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[idl_test setup] [idl_test setup]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent interface: existence and properties of interface object] [MIDIConnectionEvent interface: existence and properties of interface object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIConnectionEvent must be primary interface of new MIDIConnectionEvent("type")] [MIDIConnectionEvent must be primary interface of new MIDIConnectionEvent("type")]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: attribute state] [MIDIPort interface: attribute state]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIMessageEvent interface object length] [MIDIMessageEvent interface object length]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutputMap interface: existence and properties of interface prototype object's @@unscopables property] [MIDIOutputMap interface: existence and properties of interface prototype object's @@unscopables property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutput interface: existence and properties of interface prototype object] [MIDIOutput interface: existence and properties of interface prototype object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[Stringification of access] [Stringification of access]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIMessageEvent interface: existence and properties of interface prototype object] [MIDIMessageEvent interface: existence and properties of interface prototype object]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutputMap must be primary interface of outputs] [MIDIOutputMap must be primary interface of outputs]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface object name] [MIDIPort interface object name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIAccess interface: existence and properties of interface prototype object's @@unscopables property] [MIDIAccess interface: existence and properties of interface prototype object's @@unscopables property]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIPort interface: attribute id] [MIDIPort interface: attribute id]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInput interface object name] [MIDIInput interface object name]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[Navigator interface: operation requestMIDIAccess(optional MIDIOptions)] [Navigator interface: operation requestMIDIAccess(optional MIDIOptions)]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutput interface: operation send(sequence<octet>, optional DOMHighResTimeStamp)] [MIDIOutput interface: operation send(sequence<octet>, optional DOMHighResTimeStamp)]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIInputMap interface: maplike<DOMString, MIDIInput>] [MIDIInputMap interface: maplike<DOMString, MIDIInput>]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL
[MIDIOutputMap interface: maplike<DOMString, MIDIOutput>] [MIDIOutputMap interface: maplike<DOMString, MIDIOutput>]
expected: expected:
if os == "android": FAIL if os == "android": FAIL
if not early_beta_or_earlier: FAIL