title: Sending data from listener (of httpRequestObserver) to addon panel (iframe)
body: <p>I am trying to create a fire-bug like extension for firefox which is actually dev-tool extension. I have registered <code>httpRequestObserver</code> to observe <code>http-on-examine-response</code> event. I have a listener with below method implemented.</p>
  
  <pre><code>onDataAvailable: function(request, context, inputStream, offset, count) {
      //I get the request URL using request.name
      var responseData = getResponseData(); // gets data from inputStream
      // Now I need to render this responseData into panel's iframe
  }
  </code></pre>
  
  <p>I have created the above script as a module and included it in <code>main.js</code>. <strong>I could not find out how the data from this script could be sent to the script included in panel's HTML.</strong>
  I read about <code>Content Script</code> and <code>port.emit</code> &amp; <code>port.on</code> but I think <code>Content Script</code> won't come into picture since I don't want to touch the actual page's DOM. Want I want to do is intercept the HTTP response and log it into devtool panel.</p>
  
  <p>Thanks in advance.</p>