Name Description Size Coverage
MidiPermissionStatus.cpp 699 -
MidiPermissionStatus.h 690 100 %
moz.build 911 -
nsIPermissionMonitor.idl Monitors OS-level permission changes for a single capability and notifies via the observer service. When a permission change is detected, the observer service is notified with: topic: "system-permission-changed" data: the capability name passed to startMonitoring() Monitoring starts when startMonitoring() is called and stops when the service is destroyed. 873 -
PermissionObserver.cpp ownsWeak= 10106 -
PermissionObserver.h 1304 -
Permissions.cpp 8144 -
Permissions.h 1491 67 %
PermissionStatus.cpp 3855 -
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. 2395 90 %
PermissionStatusSink.cpp 14510 -
PermissionStatusSink.h 3802 -
PermissionUtils.cpp 3122 -
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. 1154 -
StorageAccessPermissionStatus.cpp 5768 -
StorageAccessPermissionStatus.h 874 100 %
tests -