Bug 919155 - After editing a source, it takes multiple page refreshes for the text contents to get updated in the debugger, r=rcampbell

This commit is contained in:
Victor Porof
2013-10-04 10:33:08 +03:00
parent a21bdf0972
commit 2a79f64c5f
9 changed files with 122 additions and 15 deletions

View File

@@ -0,0 +1,11 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
function handleRequest(request, response) {
response.setStatusLine(request.httpVersion, 200, "OK");
response.setHeader("Content-Type", "application/javascript; charset=utf-8", false);
response.write([
"window.setInterval(function bacon() {",
" var x = '" + Math.random() + "';",
"}, 0);"].join("\n"));
}