commit | a24fe88434e36d557fb5cd2f595ae68cd11a7ce6 | [log] [tgz] |
---|---|---|
author | Michael Wilson <mjwilson@chromium.org> | Thu Jun 01 01:02:50 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 01 01:02:50 2023 |
tree | 3609807f2d05364043d5fbcaf7b6d4748197c4aa | |
parent | 761c0539e4d37a69a3f6140b00c5fa40ed17699a [diff] |
Block non-SysEx MIDI in MIDI host and child process security policy This CL should not cause any behavior changes as long as the flag kBlockMidiByDefault is disabled. As part of gating the entire WebMIDI API behind a permissions prompt, implement logic to actually prevent sending and receiving all MIDI messages when the permission is blocked. This CL follows the existing pattern used for SysEx MIDI messages. This is a sub-change of crrev.com/c/4410060 Low-Coverage-Reason: We expect the new code to be covered by unittests in crrev.com/c/4410060 Bug: 1420307 Change-Id: I9bdb0a93e8545550651dbf89f35ea96c17009817 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4569305 Commit-Queue: Michael Wilson <mjwilson@chromium.org> Reviewed-by: Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1151593}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.