title: chrome.extension.getViews() returning trouble
body: <p>I'm trying to access a function in content script from my background script in that way -</p>
  
  <p><strong>content.js</strong></p>
  
  <pre><code>window.DOsomething = function(){
      console.log('Works?');
  }
  </code></pre>
  
  <p><strong>background.js</strong></p>
  
  <pre><code>var popups = chrome.extension.getViews();
  if (popups.length != 0) {
              var popup = popups[0];
              popup.DOsomething();
  }
  </code></pre>
  
  <p>But it's not working! It throws an error <code>Uncaught TypeError: Object [object Window] has no method 'DOsomething'</code>, but when I do <code>console.log(window)</code> in my content script - it shows me, that such method (<code>DOsomething</code>) exists! But in <code>popups[0]</code> there is no such method in list, I really don't understand such result</p>