Closed Bug 1784038 Opened 4 months ago Closed 4 months ago

Honor the dom.webmidi.gated pref

Categories

(Core :: DOM: Device Interfaces, defect)

defect

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: gsvelto, Assigned: gsvelto)

References

Details

Attachments

(1 file)

After bug 1757218 landed it's been impossible to force-enable WebMIDI without using the add-on system. This means that users interested in testing it have no way to force-enable the API. To fix this we should have the code granting permission to access the API to honor dom.webmidi.gated, so that users can turn it off and fall back to the regular pop-up prompt.

I'm filing this because I've been asked by several users in different places (DMs, e-mails, Twitter, etc...) how to test WebMIDI on Firefox, and I recommended flipping off dom.webmidi.gated just to discover that it doesn't actually do anything anymore.

Assignee: nobody → gsvelto
Status: NEW → ASSIGNED

Happy to make the pref work again, but note that you can also work around this in release by going to Tools->Page Info->Permissions, unchecking "Use Default", and then setting the permission appropriately.

FWIW: We haven't shipped this to release yet because we have some changes planned to simplify the experience. Those have been stalled due to lack of engineering resources but I believe that has recently changed.

Pushed by gsvelto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5e1f3f76d9d4
Allow users to bypass add-on gating when using WebMIDI r=bholley
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.