[Pkg-mozext-commits] [firebug] 05/17: #7948 don't display null locations in console.error callstack
David Prévot
taffit at moszumanska.debian.org
Fri Oct 30 19:16:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit cad92596f2c287f75d7ac4850e68a22a9abfc405
Author: Florent FAYOLLE <florent.fayolle69 at gmail.com>
Date: Mon Oct 5 20:54:37 2015 +0200
#7948 don't display null locations in console.error callstack
---
extension/content/firebug/debugger/stack/stackFrame.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension/content/firebug/debugger/stack/stackFrame.js b/extension/content/firebug/debugger/stack/stackFrame.js
index ec04a13..0dd7db7 100644
--- a/extension/content/firebug/debugger/stack/stackFrame.js
+++ b/extension/content/firebug/debugger/stack/stackFrame.js
@@ -354,7 +354,7 @@ StackFrame.removeChromeFrames = function(trace)
for (var i = 0; i < frames.length; i++)
{
var href = frames[i].href;
- if (href && (href.startsWith("chrome:") || href.startsWith("resource:")))
+ if (!href || href.startsWith("chrome:") || href.startsWith("resource:"))
continue;
// xxxFlorent: should be reverted if we integrate
--
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