For the Identity work for b2g, we need a way to access the message manager from a window object. Smaug said we could do this by adding a getter to docShell.
Created attachment 627229 [details] [diff] [review] untested patch The idea is that one could get nsIContentFrameMessageManager interface from docshell (getInterface).
Created attachment 627303 [details] [diff] [review] some tests Felipe, feel free to try this. https://tbpl.mozilla.org/?tree=Try&rev=5576b415c9bf