I assume this is just a simple misunderstanding of the specification. However, I had a problem with including scripts in iFrames protected by a sandbox. In particular, the code I'm talking about is below.
In top.html:
<iframe src="framed.html" sandbox="allow-scripts"></iframe>
In framed.html
...
<head>
<meta http-equiv="Content-Security-Policy" content="script-src example.com">
<script src="http://example.com/script.js"></script>
</head>
...
When running this file in Chrome, it gives me an error:
Refused to download the script ' http://example.com/script.js ' because it violates the following content security policy directive: "script -src localhost: 9000".
script? , allow-same-origin iFrame , . script-src 'self' . , script , CSP. ?
: JSFiddle, .