Lines Matching refs:spy

18715         spy = new XHRSpy(),
18812 var row = Firebug.Console.log(spy, null, "spy", Firebug.Spy.XHR);
18817 spy.logRow = row;
18843 spy.mimeType = value;
18858 spy.responseHeaders.push({
18866 row: spy.logRow,
18877 spy.responseText = xhrRequest.responseText;
18880 row = row || spy.logRow;
18891 spy.loaded = true;
18923 var row = spy.logRow;
18955 if (spy.loaded)
18956 spy = new XHRSpy();
18958 spy.method = method;
18959 spy.url = url;
18960 spy.async = async;
18961 spy.href = url;
18962 spy.xhrRequest = xhrRequest;
18963 spy.urlParams = parseURLParamsArray(url);
18986 spy.data = data;
19005 if (!spy.async)
19026 spy.requestHeaders.push({name: [header], value: [value]});
20017 var spy = getAncestorByClass(parentNode, "spyHead");
20018 var spyObject = spy.repObject;
21038 getCaption: function(spy) argument
21040 return spy.method.toUpperCase() + " " + cropString(spy.getURL(), 100);
21043 getFullUri: function(spy) argument
21045 return spy.method.toUpperCase() + " " + spy.getURL();
21048 getStatus: function(spy) argument
21051 if (spy.statusCode)
21052 text += spy.statusCode + " ";
21054 if (spy.statusText)
21055 return text += spy.statusText;
21069 var spy = getChildByClass(logRow, "spyHead").repObject;
21074 updateHttpSpyInfo(spy, logRow);
21090 copyURL: function(spy) argument
21092 copyToClipboard(spy.getURL());
21095 copyParams: function(spy) argument
21097 var text = spy.postText;
21101 var url = reEncodeURL(spy, text, true);
21105 copyResponse: function(spy) argument
21107 copyToClipboard(spy.responseText);
21110 openInTab: function(spy) argument
21112 openNewTab(spy.getURL(), spy.postText);
21125 browseObject: function(spy, context) argument
21127 var url = spy.getURL();
21132 getRealObject: function(spy, context) argument
21134 return spy.xhrRequest;
21137 getContextMenuItems: function(spy) argument
21140 {label: "CopyLocation", command: bindFixed(this.copyURL, this, spy) }
21143 if (spy.postText)
21146 {label: "CopyLocationParameters", command: bindFixed(this.copyParams, this, spy) }
21151 {label: "CopyResponse", command: bindFixed(this.copyResponse, this, spy) },
21153 {label: "OpenInTab", command: bindFixed(this.openInTab, this, spy) }
21162 function updateTime(spy) argument
21164 var timeBox = spy.logRow.getElementsByClassName("spyTime").item(0);
21165 if (spy.responseTime)
21166 timeBox.textContent = " " + formatTime(spy.responseTime);
21169 function updateLogRow(spy) argument
21171 updateTime(spy);
21173 var statusBox = spy.logRow.getElementsByClassName("spyStatus").item(0);
21174 statusBox.textContent = Firebug.Spy.XHR.getStatus(spy);
21176 removeClass(spy.logRow, "loading");
21177 setClass(spy.logRow, "loaded");
21181 var errorRange = Math.floor(spy.xhrRequest.status/100);
21183 setClass(spy.logRow, "error");
21190 var updateHttpSpyInfo = function updateHttpSpyInfo(spy, logRow) argument
21192 if (!spy.logRow && logRow)
21193 spy.logRow = logRow;
21195 if (!spy.logRow || !hasClass(spy.logRow, "opened"))
21198 if (!spy.params)
21200 spy.params = parseURLParams(spy.href+"");
21202 if (!spy.requestHeaders)
21203 spy.requestHeaders = getRequestHeaders(spy);
21205 if (!spy.responseHeaders && spy.loaded)
21206 spy.responseHeaders = getResponseHeaders(spy);
21209 var netInfoBox = getChildByClass(spy.logRow, "spyHead", "netInfoBody");
21212 var head = getChildByClass(spy.logRow, "spyHead");
21213 netInfoBox = template.tag.append({"file": spy}, head);
21214 dispatch(template.fbListeners, "initTabBody", [netInfoBox, spy]);
21219 template.updateInfo(netInfoBox, spy, spy.context);
21227 function getRequestHeaders(spy) argument
21231 var channel = spy.xhrRequest.channel;
21245 function getResponseHeaders(spy) argument
21251 var channel = spy.xhrRequest.channel;
21266 safeGetRequestName(spy.request), exc);