diff options
Diffstat (limited to 'netwerk/test/httpserver/test/data/sjs/thrower.sjs')
-rw-r--r-- | netwerk/test/httpserver/test/data/sjs/thrower.sjs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/netwerk/test/httpserver/test/data/sjs/thrower.sjs b/netwerk/test/httpserver/test/data/sjs/thrower.sjs new file mode 100644 index 0000000000..b34de70e30 --- /dev/null +++ b/netwerk/test/httpserver/test/data/sjs/thrower.sjs @@ -0,0 +1,6 @@ +function handleRequest(request, response) { + if (request.queryString == "throw") { + undefined[5]; + } + response.setHeader("X-Test-Status", "PASS", false); +} |