title: "Chrome Apps" webview.executeScript access guest global varibles
body: <p>I can access a Chrome App Webview HTML with:</p>
  
  <pre><code>webview.executeScript(
      {code: 'document.documentElement.innerHTML'},
      function(results) {
        // results[0] would have the webview's innerHTML.
      });
  </code></pre>
  
  <p>But I would like to get the value of global variables in the Guest like so:</p>
  
  <pre><code>webview.executeScript(
     {code: 'window.globalVar'},
     function(results) {
     // results[0] should have the webview's value of "globalVar".
     });
  </code></pre>
  
  <p>How can I do this?</p>