docshell/test/bug413310-post.sjs
author Karl Tomlinson <karlt+@karlt.net>
Thu, 03 Feb 2011 12:22:33 -0500
changeset 61853 57536671a3637d216f06e1f28b0ddf8b8c5250d3
parent 12420 66a61530eb92f90183c616b020cd9d31213e3965
child 67968 b583111a88aa562215eb4f47668d3f94fc09a8f3
permissions -rw-r--r--
b=621962 rearrange nsIconChannel::Init to make what is happening clearer r=roc

function handleRequest(request, response) {
  response.setHeader("Content-Type", "text/html");
  response.write("<body onload='window.parent.onloadCount++'>" +
                 request.method + " " +
		 Date.now() +
		 "</body>");
}