chromium/third_party/blink/web_tests/http/tests/misc/onload-detach-during-csp-frame-src-none.html

<meta content="frame-src 'none'" http-equiv="Content-Security-Policy"/>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

window.onload = function() {
    var i = document.createElement("iframe");
    document.body.appendChild(i);
    i.contentWindow.location = "data:,hello";
    i.onload = function() {
        document.body.innerText = "PASS";
        if (window.testRunner)
            testRunner.notifyDone();
    }
}
</script>