If you try to add a permanent permission to replace an existing expiring permission, the permission manager does not update its internal state correctly. Then if due to a bug in your permission observer you try to readd the permission, the permission manager sees this as a change, and sends out another notification, and your permission observer tries to readd the permission, and so on until you run out of native stack. The current version of KaiRo's data manager suffers from this bug because updating its UI causes it to set a permanent permission for the change that it just observed. (If all permissions are permanent this is OK because the permission manager realises that nothing changed and ignores it.)
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.