<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'"> | |
<script src="resources/dump-as-text.js"></script> | |
</head> | |
<body> | |
This test passes if it doesn't alert fail. | |
<script> | |
alert('FAIL'); | |
</script> | |
<script src="resources/document-write-alert-fail.js"></script> | |
</body> | |
</html> |