Let RemotePages accept an object for receiving messages

NEW
Unassigned

Status

()

3 years ago
3 years ago

People

(Reporter: mconley, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
Bug 1068087 added a nice mechanism for messaging between chrome and content. This makes doing things like bug 1021654 more simple, as it takes care of the communications boilerplace.

It seems that a RemotePages instance will only accept a callback function to respond to a message. What'd be excellent is if it could also accept an Object that implements receiveMessage, much like the lower-level message listener interface allows us to do.
You need to log in before you can comment on or make changes to this bug.