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:
11
browser/devtools/debugger/test/sjs_random-javascript.sjs
Normal file
11
browser/devtools/debugger/test/sjs_random-javascript.sjs
Normal 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"));
|
||||
}
|
||||
Reference in New Issue
Block a user