1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/debugger/test/sjs_random-javascript.sjs Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +/* Any copyright is dedicated to the Public Domain. 1.5 + http://creativecommons.org/publicdomain/zero/1.0/ */ 1.6 + 1.7 +function handleRequest(request, response) { 1.8 + response.setStatusLine(request.httpVersion, 200, "OK"); 1.9 + response.setHeader("Content-Type", "application/javascript; charset=utf-8", false); 1.10 + response.write([ 1.11 + "window.setInterval(function bacon() {", 1.12 + " var x = '" + Math.random() + "';", 1.13 + "}, 0);"].join("\n")); 1.14 +}