<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="script-src http://127.0.0.1:*">
<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>
