Open Bug 1172975 Opened 9 years ago Updated 2 years ago

Let RemotePages accept an object for receiving messages

Categories

(Toolkit :: General, defect)

defect

Tracking

()

People

(Reporter: mconley, Unassigned)

Details

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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.