i'm adjusting my extension to Firefox multiprocess (e10s).
I want to send the webpage some data using a postMessage from the frame-script.
The Firefox documnatation says i should try to use 'content' object instead of the 'window' object. When trying to access the content page i get an error: .
// frame-script.js
addMessageListener("message_from_ext", function(message){
        try{
            var _message = {
                from: "content",
                to: "web",
                data: message
            };
            content.postMessage(_message, "*"); //getting <unavailable> on the content object
        }catch(e){
            console.log(e);
        }
});
how should i access the content object? should i load anything to my frame-script.js?
(I already succeeded in getting data from the webpage, and sending it to the extension and getting back other data from the extension)