[Pkg-mozext-commits] [firebug] 03/21: #7928 Console tab - cannot check request & response header source when ajax called
David Prévot
taffit at moszumanska.debian.org
Tue Sep 15 16:17:05 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 b85c5eba8f21673b79afc792b8339257538f0180
Author: Jan Odvarko <odvarko at gmail.com>
Date: Mon Aug 3 14:12:25 2015 +0200
#7928 Console tab - cannot check request & response header source when ajax called
---
extension/content/firebug/net/netReps.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/extension/content/firebug/net/netReps.js b/extension/content/firebug/net/netReps.js
index 75048c1..46152d1 100644
--- a/extension/content/firebug/net/netReps.js
+++ b/extension/content/firebug/net/netReps.js
@@ -1706,6 +1706,9 @@ Firebug.NetMonitor.NetInfoHeaders = domplate(Rep, new EventSource(),
var netInfoBox = Dom.getAncestorByClass(target, "netInfoBody");
var file = netInfoBox.repObject;
+ // Use the original file object (workaround for issue #7928)
+ file = file.context.netProgress.getRequestFile(file.request) || file;
+
if (target.sourceDisplayed)
{
var headers = requestHeaders ? file.requestHeaders : file.responseHeaders;
--
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