title: chrome extension in iframe allow-same-origin blocked
body: <p>manifest.json  </p>
  
  <pre><code> {
    "manifest_version": 2,
    "name": "Test iframe",
    "version": "1.0",
    "content_scripts": [ {
        "all_frames": true,
        "js": [ "script.js" ],
        "match_about_blank": true,
        "matches": [ "\u003Call_urls&gt;" ],
        "run_at": "document_start"
     } ],
   "permissions": ["\u003Call_urls&gt;"]
  }
  </code></pre>
  
  <p>script.js</p>
  
  <pre><code>var s = document.createElement("script");
  var str='console.log(1);';
      s.type = "text/javascript";
      s.text = str, document.documentElement.insertBefore(s, null);
  </code></pre>
  
  <p>Test: <a href="http://jsbin.com/kazizohawo/edit?html,console,output" rel="nofollow">jsbin.com</a></p>
  
  <p>Error:
  <strong>Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.</strong></p>
  
  <p>How to get access to sandbox iframe?</p>
  
  <p><em>chrome.exe --disable-web-security</em> -
  not working.</p>