chromium/third_party/blink/web_tests/http/tests/misc/write-from-dom-script.html

<html>
<body>
PASS
<script>
if (window.testRunner)
    testRunner.dumpAsText();

window.scriptDidReallyRun = false;

var script = document.createElement("script");
script.src = "data:text/javascript,document.write('FAIL');document.close();" +
             "window.scriptDidReally = true;";
document.body.appendChild(script);
</script>
<script src="resources/script-slow1.pl"></script>
<script>
if (!window.scriptDidReallyRun)
    alert("FAIL!  The script didn't really run.  :(");
<script>
</body>
</html>