Unbreak context menu
Description (last modified by trev)
#3208 will break the context menu because the data will be attached to nodes in the content process, RequestNotifier.getDataForNode won't be able to access it any more.
What to change
Register a handler for the content-contextmenu observer notification, attach our context data to the addonInfo parameter. This should include the request IDs that can be passed to the filter assistant (see #3224). The UI code should check the global gContextMenuContentData variable - if it can find our data in its addonInfo member then this one should be used. Otherwise it should fall back to the current logic working with the event target without any e10s handling (for SeaMonkey before 2.37 and Thunderbird).
Change History (7)
comment:5 Changed 17 months ago by trev
- Review URL(s) modified (diff)
- Status changed from new to reviewing