Closed
Bug 1313683
Opened 8 years ago
Closed 7 years ago
Remove PContent::Msg_ReadPermissions sync message
Categories
(Core :: Widget, defect, P4)
Tracking
()
RESOLVED
DUPLICATE
of bug 1337056
People
(Reporter: mconley, Unassigned)
References
Details
(Whiteboard: tpi:+)
When nsPermissionManager::Init fires in the content process, it sends a sync message "ReadPermissions" to the parent: http://searchfox.org/mozilla-central/rev/445097654c1cc1098ee0171a29c439afe363a588/extensions/cookie/nsPermissionManager.cpp#795 It looks like this only occurs once the permission manager starts up, but it also looks like there's an API for refreshing permissions (nsIPermissionManager.refreshPermission). This was added in bug 1129315 for b2g, but I don't think it's called anymore. We might want to remove that. We might be able to piggyback on the work going on in bug 1303096 to send permissions down along with the look-and-feel cache and preferences.
Updated•8 years ago
|
Priority: -- → P4
Whiteboard: tpi:+
Comment 1•7 years ago
|
||
(In reply to Mike Conley (:mconley) from comment #0) > When nsPermissionManager::Init fires in the content process, it sends a sync > message "ReadPermissions" to the parent: > > http://searchfox.org/mozilla-central/rev/ > 445097654c1cc1098ee0171a29c439afe363a588/extensions/cookie/ > nsPermissionManager.cpp#795 > > It looks like this only occurs once the permission manager starts up, but it > also looks like there's an API for refreshing permissions > (nsIPermissionManager.refreshPermission). This was added in bug 1129315 for > b2g, but I don't think it's called anymore. We might want to remove that. Bug 1337056's fix is removing this sync message. There's some evidence there so I'll dupe this way. > We might be able to piggyback on the work going on in bug 1303096 to send > permissions down along with the look-and-feel cache and preferences. I actually have a better plan! I'll post it to that bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•