Closed Bug 593213 Opened 15 years ago Closed 5 years ago

Permission manager does not update changes in expiry correctly

Categories

(Core :: Permission Manager, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1648134

People

(Reporter: neil, Unassigned)

References

Details

(Whiteboard: [necko-would-take])

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.)
Whiteboard: [necko-would-take]
Keywords: crash
Priority: -- → P5
Component: Networking: Cookies → Permission Manager
See Also: → 1648134
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.