PSA: Web MIDI Permissions Prompt Change

111 views
Skip to first unread message

Ajay Rahatekar

unread,
Apr 5, 2023, 7:54:20 PMApr 5
to blink-dev, mjwi...@chromium.org, sinaf...@chromium.org, hongchan, Ben Morss

Contact emails

mjwi...@chromium.org, sinaf...@chromium.org, hong...@chromium.org


Specification

https://www.w3.org/TR/webmidi/#requestmidiaccess


Summary

This change will require users to grant permission before they can use the Web MIDI API. Currently, users must explicitly grant permission to use SysEx messages with the Web MIDI API. With this change, users will need to grant a single permission to use the Web MIDI API and SysEx support. Both permissions will be requested in a bundled permission prompt.


Blink component

Blink>WebMIDI


Search tags

MIDI, SysEx


Risks


Firefox already has a permissions prompt on Web MIDI API. We are working with known partners and plan on socializing this Chromium change.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes


Is this feature fully tested by web-platform-tests?

No


Requires code in //chrome?

False


Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1420307


Estimated milestones

We hope to ship this in Q2 2023.



Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5087054662205440


This intent message was generated by Chrome Platform Status.



Ajay Rahatekar

unread,
Apr 13, 2023, 1:56:40 PMApr 13
to blink-dev, Ajay Rahatekar, mjwi...@chromium.org, sinaf...@chromium.org, hongchan, Ben Morss
A correction. The permission prompt will not be released on Webview at this time. This is planned for to be revisited later.

Ajay Rahatekar

unread,
Jul 18, 2023, 3:59:23 PMJul 18
to blink-dev, Ajay Rahatekar, mjwi...@chromium.org, sinaf...@chromium.org, hongchan, hongchan
This feature is planned to ship in M118.
Reply all
Reply to author
Forward
0 new messages