[Pkg-mozext-commits] [firebug] 36/68: Guard tracing
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:52 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.
commit 32f05bb0c7aa9d5d8b73976cb5293f44e6246c4f
Author: Jan Odvarko <odvarko at gmail.com>
Date: Thu Feb 14 15:11:50 2013 +0100
Guard tracing
---
extension/content/firebug/net/spy.js | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/extension/content/firebug/net/spy.js b/extension/content/firebug/net/spy.js
index 5fc7d82..9392d2b 100644
--- a/extension/content/firebug/net/spy.js
+++ b/extension/content/firebug/net/spy.js
@@ -553,8 +553,11 @@ function getSpyForXHR(request, xhrRequest, context, noCreate)
spy = context.spies[i];
if (spy.request == request)
{
- FBTrace.sysout("spy.getSpyForXHR; FOUND spy object " +
- Http.safeGetRequestName(request) + ", " + Url.getFileName(spy.href));
+ if (FBTrace.DBG_SPY)
+ {
+ FBTrace.sysout("spy.getSpyForXHR; FOUND spy object " +
+ Http.safeGetRequestName(request) + ", " + Url.getFileName(spy.href));
+ }
return spy;
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list