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!
{ name: "MessagePort", insecureContext: true },
// 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!
{
name: "MIDIConnectionEvent",
android: false,
disabled: !isEarlyBetaOrEarlier,
},
{ name: "MIDIConnectionEvent", android: false },
// 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!
{ name: "MIDIInput", android: false, disabled: !isEarlyBetaOrEarlier },
{ name: "MIDIInput", android: false },
// 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!
{ name: "MIDIOutputMap", android: false, disabled: !isEarlyBetaOrEarlier },
{ name: "MIDIOutputMap", android: false },
// 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!
{ name: "MIDIPort", android: false, disabled: !isEarlyBetaOrEarlier },
{ name: "MIDIPort", android: false },
// IMPORTANT: Do not change this list without review from a DOM peer!
{ name: "MimeType", insecureContext: true },
// IMPORTANT: Do not change this list without review from a DOM peer!

View file

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

View file

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

View file

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