Sign in
nest-open-source
/
manifest_repos
/
chromium_src
/
1389d67935ffbffe8a70c1fa06867f6cf7ecf464
/
.
/
chromium
/
src
/
third_party
/
blink
/
web_tests
/
http
/
tests
/
security
/
contentSecurityPolicy
/
resources
/
sandboxed-eval.php
blob: 917b505f8350a1af5b5d7562beae9701f0750b9b [
file
] [
log
] [
blame
]
<?
php
header
(
"Content-Security-Policy: sandbox allow-scripts"
);
?>
<script>
console
.
log
(
'PASS (1/2): Script can execute'
);
</script>
<script>
eval
(
"console.log('PASS (2/2): Eval works')"
);
</script>
Done.