https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 081d5deaff4a25ca5f8b6c0baa30e085de230c36 authored by Mike West on 13 September 2015, 08:25:34 UTC
CSP: Correct a cookie name.
Tip revision: 081d5de
eval-blocked-in-about-blank-iframe.sub.html

<iframe src="about:blank"></iframe>
Eval should be blocked in the iframe, but inline script should be allowed.
<script>
    window.onload = function() {
        frames[0].log("<script>alert_assert(/PASS/); eval('alert_assert(/FAIL/);');<\/script>");
        frames[0].document.close();
    }

</script>
back to top