[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 172/311: Bug 1749906 - Always use the test MIDI service implementation in tests r=padenot a=test-only



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 3002cfed5b640fe684f51044744b3cc7fbab089b
Author: Gabriele Svelto <gsvelto@xxxxxxxxxxx>
AuthorDate: Tue Mar 15 11:41:49 2022 +0000

    Bug 1749906 - Always use the test MIDI service implementation in tests r=padenot a=test-only
    
    Differential Revision: https://phabricator.services.mozilla.com/D141000
---
 dom/midi/tests/test_midi_permission_gated.html | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dom/midi/tests/test_midi_permission_gated.html b/dom/midi/tests/test_midi_permission_gated.html
index 604185b542653..6858c66c0f820 100644
--- a/dom/midi/tests/test_midi_permission_gated.html
+++ b/dom/midi/tests/test_midi_permission_gated.html
@@ -27,7 +27,10 @@
 
     async function runTests() {
       await SpecialPowers.pushPrefEnv({
-        set: [["dom.webmidi.enabled", true]],
+        set: [
+          ["dom.webmidi.enabled", true],
+          ["midi.testing", true],
+        ],
       });
       ok(
         await SpecialPowers.testPermission(

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits