Closed Bug 1795473 Opened 3 years ago Closed 3 years ago

Enable new SitePermsAddonProvider in dom/midi/ mochitests

Categories

(Toolkit :: Add-ons Manager, task)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: willdurand, Assigned: willdurand)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

It looks like the (mochi) test suite in dom/midi/tests/ is using the old xpi-based implementation and has never been adapted to support the new SitePermsAddonProvider introduced in Bug 1778959.

Bug 1790620 revealed this problem and we should update the test suite (and make sure it works as intended), ideally before enabling the new provider in all channels.

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.

Assignee: nobody → wdurand
Status: NEW → ASSIGNED
Whiteboard: [addons-jira]
Pushed by wdurand@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7cf813534938 Fix dom/midi mochitests with new SitePermsAddonProvider. r=rpl
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: