| #!/usr/bin/env python3 |
| |
| import sys |
| |
| sys.stdout.write( |
| 'Content-Security-Policy: style-src \'none\'; script-src * \'unsafe-inline\'\r\n' |
| 'Content-Type: application/xhtml+xml\r\n\r\n' |
| '<?xml version="1.0" encoding="UTF-8"?>' |
| '<?xml-stylesheet type="text/xsl" href="resources/style.xsl"?>' |
| '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" \n' |
| ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n' |
| '<html xmlns="http://www.w3.org/1999/xhtml">\n' |
| '<head>\n' |
| '<script>\n' |
| '//<![CDATA[\n' |
| 'if (window.testRunner)\n' |
| ' testRunner.dumpAsText();\n' |
| '//]]>\n' |
| '</script>\n' |
| '</head>\n' |
| '<body>\n' |
| 'The text below should indicate that the style sheet was applied.\n' |
| '<div />\n' |
| '</body>\n' |
| '</html>\n' |
| ) |