MidiPermissionStatus.cpp |
|
823 |
MidiPermissionStatus.h |
|
814 |
moz.build |
|
853 |
PermissionObserver.cpp |
static |
3886 |
PermissionObserver.h |
|
1180 |
Permissions.cpp |
|
6543 |
Permissions.h |
|
1598 |
PermissionStatus.cpp |
|
5844 |
PermissionStatus.h |
This method returns the internal permission type, which should be equal to
the permission name for all but the MIDI permission because of the SysEx
support: internally, we have both "midi" and "midi-sysex" permission types
but we only have a "midi" (public) permission name.
Note: the `MidiPermissionDescriptor` descriptor has an optional `sysex`
boolean, which is used to determine whether to return "midi" or
"midi-sysex" for the MIDI permission.
|
2858 |
PermissionUtils.cpp |
|
2404 |
PermissionUtils.h |
Returns the permission name given a permission type.
Note: the "midi" permission is implemented with two internal permissions
("midi" and "midi-sysex"). For this reason, when we pass "midi-sysex" to
this function, it unconditionally returns the "midi" permission name,
because that's the only public permission name.
|
1132 |
StorageAccessPermissionStatus.cpp |
|
2625 |
StorageAccessPermissionStatus.h |
|
958 |
tests |
|
|