mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fb92456e66
--HG-- rename : dom/workers/test/test_404.html => dom/workers/test/test_bug1036484.html
11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
function handleRequest(request, response)
|
|
{
|
|
response.setStatusLine(request.httpVersion, 404, "Not found");
|
|
|
|
// Any valid JS.
|
|
if (request.queryString == 'js') {
|
|
response.setHeader("Content-Type", "text/javascript", false);
|
|
response.write('4 + 4');
|
|
}
|
|
}
|