navigator.requestMIDIAccess fails to work on file:// schema
Categories
(Core :: DOM: Device Interfaces, defect, P3)
Tracking
()
People
(Reporter: descartavel1, Assigned: gsvelto)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0
Steps to reproduce:
webMIDI is not available when a file schema secure context.
related https://bugzilla.mozilla.org/show_bug.cgi?id=1757153
serving from file:///test.html
:
Actual results:
window.isSecureContext; // returns TRUE
navigator.requestMIDIAccess; // is UNDEFINED
Expected results:
navigator.requestMIDIAccess; // should be a function
Comment 1•8 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•8 months ago
|
Comment 2•8 months ago
|
||
The severity field is not set for this bug.
:cmartin, could you have a look please?
For more information, please visit BugBot documentation.
Comment 3•8 months ago
|
||
Assigning to Gabriele for now, since he works on the MIDI stuff.
Assignee | ||
Comment 4•8 months ago
|
||
This was a deliberate choice when the API was gated in bug 1778959. I don't know the reasoning behind it though as I didn't work on the API access permissions.
Description
•