[tbb-commits] [tor-browser] 286/311: Bug 1752906 - Disable WebMIDI on beta 99. r=gsvelto a=dmeehan
gitolite role
git at cupani.torproject.org
Tue Apr 26 15:31:26 UTC 2022
This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.
commit a6abb303e7dfd94db86b793c330466be50e26781
Author: Bobby Holley <bobbyholley at gmail.com>
AuthorDate: Wed Mar 30 16:27:03 2022 +0000
Bug 1752906 - Disable WebMIDI on beta 99. r=gsvelto a=dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D142471
---
dom/tests/mochitest/general/test_interfaces.js | 16 +-
modules/libpref/init/StaticPrefList.yaml | 2 +-
.../reporting/midi-reporting.https.html.ini | 8 +-
testing/web-platform/meta/webmidi/__dir__.ini | 2 +-
.../meta/webmidi/idlharness.https.window.js.ini | 246 +++++++--------------
5 files changed, 93 insertions(+), 181 deletions(-)
diff --git a/dom/tests/mochitest/general/test_interfaces.js b/dom/tests/mochitest/general/test_interfaces.js
index 150ba425f5fe7..140f00e23bb48 100644
--- a/dom/tests/mochitest/general/test_interfaces.js
+++ b/dom/tests/mochitest/general/test_interfaces.js
@@ -759,21 +759,21 @@ var 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 },
+ { name: "MIDIAccess", disabled: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
- { name: "MIDIConnectionEvent", android: false },
+ { name: "MIDIConnectionEvent", disabled: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
- { name: "MIDIInputMap", android: false },
+ { name: "MIDIInputMap", disabled: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
- { name: "MIDIInput", android: false },
+ { name: "MIDIInput", disabled: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
- { name: "MIDIMessageEvent", android: false },
+ { name: "MIDIMessageEvent", disabled: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
- { name: "MIDIOutputMap", android: false },
+ { name: "MIDIOutputMap", disabled: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
- { name: "MIDIOutput", android: false },
+ { name: "MIDIOutput", disabled: true },
// IMPORTANT: Do not change this list without review from a DOM peer!
- { name: "MIDIPort", android: false },
+ { name: "MIDIPort", disabled: true },
// 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!
diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml
index 153d7504d2f74..6760d405c6db5 100644
--- a/modules/libpref/init/StaticPrefList.yaml
+++ b/modules/libpref/init/StaticPrefList.yaml
@@ -4171,7 +4171,7 @@
# Whether the WebMIDI API is enabled
- name: dom.webmidi.enabled
type: bool
- value: @IS_NOT_ANDROID@
+ value: false
mirror: always
# midi permission is addon-gated
diff --git a/testing/web-platform/meta/permissions-policy/reporting/midi-reporting.https.html.ini b/testing/web-platform/meta/permissions-policy/reporting/midi-reporting.https.html.ini
index 08cd80fca3583..22d04ad991c44 100644
--- a/testing/web-platform/meta/permissions-policy/reporting/midi-reporting.https.html.ini
+++ b/testing/web-platform/meta/permissions-policy/reporting/midi-reporting.https.html.ini
@@ -1,10 +1,4 @@
[midi-reporting.https.html]
- expected:
- if os == "android": OK
- TIMEOUT
-
[MIDI Report Format]
- expected:
- if os == "android": FAIL
- TIMEOUT
+ expected: FAIL
diff --git a/testing/web-platform/meta/webmidi/__dir__.ini b/testing/web-platform/meta/webmidi/__dir__.ini
index 8bacb85eed930..72bd1d3fe152d 100644
--- a/testing/web-platform/meta/webmidi/__dir__.ini
+++ b/testing/web-platform/meta/webmidi/__dir__.ini
@@ -1 +1 @@
-prefs: [midi.testing:true, midi.prompt.testing:true]
+implementation-status: not-implementing
diff --git a/testing/web-platform/meta/webmidi/idlharness.https.window.js.ini b/testing/web-platform/meta/webmidi/idlharness.https.window.js.ini
index 149a37abab6e7..9f321ca803556 100644
--- a/testing/web-platform/meta/webmidi/idlharness.https.window.js.ini
+++ b/testing/web-platform/meta/webmidi/idlharness.https.window.js.ini
@@ -1,329 +1,247 @@
[idlharness.https.window.html]
[MIDIAccess must be primary interface of access]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutputMap interface object name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutput interface: existence and properties of interface prototype object's @@unscopables property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutput interface: existence and properties of interface object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInput interface: existence and properties of interface prototype object's @@unscopables property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInputMap interface: existence and properties of interface prototype object's @@unscopables property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: attribute outputs]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface object length]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInputMap interface: existence and properties of interface object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: existence and properties of interface object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInputMap must be primary interface of inputs]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: access must inherit property "outputs" with the proper type]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIMessageEvent interface: existence and properties of interface prototype object's @@unscopables property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutputMap interface object length]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInput interface: existence and properties of interface object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutputMap interface: existence and properties of interface object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: attribute version]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: existence and properties of interface prototype object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInputMap interface: existence and properties of interface prototype object's "constructor" property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: attribute onstatechange]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInputMap interface object length]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInput interface: existence and properties of interface prototype object's "constructor" property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: operation open()]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent interface: existence and properties of interface prototype object's "constructor" property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutput interface object length]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: attribute inputs]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[Stringification of inputs]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInputMap interface object name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutputMap interface: existence and properties of interface prototype object's "constructor" property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: access must inherit property "inputs" with the proper type]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIMessageEvent interface object name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: access must inherit property "onstatechange" with the proper type]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInputMap interface: existence and properties of interface prototype object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInput interface object length]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInput interface: existence and properties of interface prototype object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: access must inherit property "sysexEnabled" with the proper type]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIMessageEvent interface: attribute data]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent interface: existence and properties of interface prototype object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[Stringification of outputs]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: attribute connection]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutput interface: existence and properties of interface prototype object's "constructor" property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIMessageEvent interface: existence and properties of interface prototype object's "constructor" property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutput interface: operation clear()]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: operation close()]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: attribute manufacturer]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutputMap interface: existence and properties of interface prototype object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: attribute type]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent interface object length]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: existence and properties of interface prototype object's "constructor" property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: existence and properties of interface prototype object's @@unscopables property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent interface object name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: attribute sysexEnabled]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface object name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface object length]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInput interface: attribute onmidimessage]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: attribute onstatechange]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: existence and properties of interface object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIMessageEvent interface: existence and properties of interface object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent interface: attribute port]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: attribute name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent interface: existence and properties of interface prototype object's @@unscopables property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: existence and properties of interface prototype object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[Stringification of new MIDIConnectionEvent("type")]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent interface: new MIDIConnectionEvent("type") must inherit property "port" with the proper type]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutput interface object name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: existence and properties of interface prototype object's "constructor" property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[idl_test setup]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent interface: existence and properties of interface object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIConnectionEvent must be primary interface of new MIDIConnectionEvent("type")]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: attribute state]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIMessageEvent interface object length]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutputMap interface: existence and properties of interface prototype object's @@unscopables property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutput interface: existence and properties of interface prototype object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[Stringification of access]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIMessageEvent interface: existence and properties of interface prototype object]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutputMap must be primary interface of outputs]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface object name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIAccess interface: existence and properties of interface prototype object's @@unscopables property]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIPort interface: attribute id]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIInput interface object name]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[Navigator interface: operation requestMIDIAccess(optional MIDIOptions)]
- expected:
- if os == "android": FAIL
+ expected: FAIL
[MIDIOutput interface: operation send(sequence<octet>, optional DOMHighResTimeStamp)]
- expected:
- if os == "android": FAIL
+ expected: FAIL
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tbb-commits
mailing list