diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py')
-rw-r--r-- | testing/web-platform/tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py new file mode 100644 index 0000000000..b315afed56 --- /dev/null +++ b/testing/web-platform/tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py @@ -0,0 +1,4 @@ +def main(request, response): + headers = [(b"Content-Type", b"text/javascript"), (b"Cache-control", b"public, max-age=100")] + body = u"throw('fox');" + return 200, headers, body |