<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline' 'unsafe-eval'"> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> | |
</head> | |
<body> | |
<script> | |
eval("alert('PASS (1 of 2)')"); | |
</script> | |
<script> | |
window.eval("alert('PASS (2 of 2)')"); | |
</script> | |
</body> | |
</html> |