The default implementation for matching permission descriptors.
For most permissions, this implementation matches descriptors only by their name property.
name
For the midi permission, sysex is also checked, with a missing sysex property being treated as false.
midi
sysex
false
For the push permission, userVisibleOnly is also checked, with a missing userVisibleOnly property being treated as false.
push
userVisibleOnly
The first descriptor to compare.
The second descriptor to compare.
Whether the descriptors match.
PermissionStoreParameters.isMatchingDescriptor for how to supply custom matching logic to a permission store.
The default implementation for matching permission descriptors.
For most permissions, this implementation matches descriptors only by their
nameproperty.For the
midipermission,sysexis also checked, with a missingsysexproperty being treated asfalse.For the
pushpermission,userVisibleOnlyis also checked, with a missinguserVisibleOnlyproperty being treated asfalse.