mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-02-02 07:30:08 +00:00
13 lines
400 B
JavaScript
13 lines
400 B
JavaScript
function handleRequest(request, response)
|
|
{
|
|
response.seizePower();
|
|
var r = 'HTTP/1.1 200 OK\r\n' +
|
|
'Content-Type: text/html\r\n' +
|
|
'Link: < \014>; rel="stylesheet",\r\n' +
|
|
'\r\n' +
|
|
'<!-- selector {} body {display:none;} --><body>PASS</body>\r\n';
|
|
response.bodyOutputStream.write(r, r.length);
|
|
response.bodyOutputStream.flush();
|
|
response.finish();
|
|
}
|