Sign in
webkit
/
WebKit
/
fdc942c5052133d9f3534312553b7ba8c309c092
/
.
/
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>