commit 7d5f6f19ec920233be450836fd702e24f1db6a2a Author: David Fifield david@bamsoftware.com Date: Sun Jan 20 03:19:16 2013 -0800
Document where console.debug goes to. --- proxy/flashproxy.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js index 232b500..8cf086f 100644 --- a/proxy/flashproxy.js +++ b/proxy/flashproxy.js @@ -94,10 +94,12 @@ function puts(s) { if (debug_div) { var at_bottom;
+ /* This shows up in the Web Console in Firefox. */ + console.debug(s); + /* http://www.w3.org/TR/cssom-view/#element-scrolling-members */ at_bottom = (debug_div.scrollTop + debug_div.clientHeight === debug_div.scrollHeight); debug_div.appendChild(document.createTextNode(s + "\n")); - console.debug(s); if (at_bottom) debug_div.scrollTop = debug_div.scrollHeight; }
tor-commits@lists.torproject.org