Sign in
webkit
/
WebKit
/
5018b83b58300de6a946efbfe8a7056c14da27e0
/
.
/
LayoutTests
/
http
/
tests
/
security
/
contentSecurityPolicy
/
sandbox-empty-in-http-header-inherited-by-subframe.php
blob: 66d982026f74bd18c0ab4c949d471b9d345f1741 [
file
] [
log
] [
blame
]
<?
php
header
(
"Content-Security-Policy: sandbox"
);
?>
<!DOCTYPE html>
<html>
<body>
<!-- This test passes if it doesn't alert FAIL. -->
<iframe src="data:text/html,
<script>
alert
(
'FAIL'
);
</script>
" width="100" height="100">
</iframe>
</body>
</html>