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