Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 var timer;
3 function handleRequest(request, response)
4 {
5 response.setHeader("Cache-Control", "no-cache, must-revalidate", false);
6 response.setHeader("Content-Type", "text/css", false);
7 response.write("body { background:lime; color:red; }");
8 response.processAsync();
9 timer = Components.classes["@mozilla.org/timer;1"]
10 .createInstance(Components.interfaces.nsITimer);
11 timer.initWithCallback(function() {
12 response.finish();
13 }, 500, Components.interfaces.nsITimer.TYPE_ONE_SHOT);
14 }