Bug 1795473 - Fix dom/midi mochitests with new SitePermsAddonProvider. r=rpl
commit296de0da21816efa48b9e79118def3101515cafe
authorWilliam Durand <will+git@drnd.me>
Mon, 17 Oct 2022 13:09:39 +0000 (17 13:09 +0000)
committerWilliam Durand <will+git@drnd.me>
Mon, 17 Oct 2022 13:09:39 +0000 (17 13:09 +0000)
tree3a71d658828da82a0ef47f1e3d74012ee57f2f24
parentb989d9a4ca172b907317bc2965f8f54bb9c36228
Bug 1795473 - Fix dom/midi mochitests with new SitePermsAddonProvider. r=rpl

With the new synthetic add-on provider, we do not return an error when calling `navigator.requestMIDIAccess()` without an add-on installed because there is *always* an add-on.

Differential Revision: https://phabricator.services.mozilla.com/D159464
dom/midi/tests/mochitest.ini
dom/midi/tests/test_midi_permission_gated.html