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