Comment 152 for bug 195698

Revision history for this message
In , Honzab-moz (honzab-moz) wrote :

Created an attachment (id=326390)
Improovment to prompt service

This is improvement to prompt service implementing aggregation queue preventing overlap of password type dialogs and aggregates data between multiple instances of the same dialog.

The code is designed to simply allow just a single queue for any dialog or group dialogs of a single type to each have its own queue.

I am not sure of the way how equal dialogs are recognized. I compare fields like title etc. This might rise security risks when dialogs titled the same way comes from different origin.

This patch is not the way to fix this issue, I added it just for reference and because the work has already been done.