| 'Content-Type: text/html\r\n\r\n' |
| 'if (window.testRunner)\n' |
| ' testRunner.dumpAsText();\n' |
| '<h1>This tests verifies that a large program doesn't crash JavaScript.</h1>\n' |
| '<p>This test should generate an out of stack exception, but have no other output.\n' |
| '<pre id="console"></pre>\n' |
| '<script src="/js-test-resources/js-test-pre.js"></script>\n' |
| ' document.getElementById("console").innerHTML += m + "<br>";\n' |
| ' // We should not get to this code, we should throw an out of stack exception calling foo().\n' |
| ' testFailed("We should never get here!");\n' |
| for i in range(0, 1000000): |
| sys.stdout.write('[0, {}]'.format(i)) |