summaryrefslogtreecommitdiffstats
path: root/dom/html/test/bug649134/file_bug649134-2.sjs
blob: 3cbacf71840e18a9faa2691b057d9eadcfb22d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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();
}