[Pkg-mozext-commits] [firebug] 04/16: #7961 Stack traces broken by bug 863089
David Prévot
taffit at moszumanska.debian.org
Sun Feb 7 19:14:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit 8e7d1a68c8c3bd1a20f38831b3b8585e1db7d54b
Author: Jan Odvarko <odvarko at gmail.com>
Date: Wed Nov 4 13:22:17 2015 +0100
#7961 Stack traces broken by bug 863089
---
extension/content/firebug/console/errorStackTraceObserver.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension/content/firebug/console/errorStackTraceObserver.js b/extension/content/firebug/console/errorStackTraceObserver.js
index c1ef6b0..92c19aa 100644
--- a/extension/content/firebug/console/errorStackTraceObserver.js
+++ b/extension/content/firebug/console/errorStackTraceObserver.js
@@ -154,7 +154,7 @@ var ErrorStackTraceObserver = Obj.extend(Module,
if (!sourceFile)
sourceFile = {href: script.url};
- var line = script.getOffsetLine(state.offsets[i]);
+ var line = script.getOffsetLocation(state.offsets[i]).lineNumber;
var args = state.argCopies[i];
var stackFrame = new StackFrame(sourceFile, line, state.frameNames[i],
--
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