<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Security-Policy" content="script-src http://127.0.0.1:* 'unsafe-inline'"> | |
<script src="resources/dump-as-text.js"></script> | |
</head> | |
<body onload="alert('PASS 3 of 3')"> | |
<script> | |
alert('PASS 1 of 3'); | |
</script> | |
<iframe src="javascript:alert('PASS 2 of 3')"></iframe> | |
</body> | |
</html> |