Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 145661 Details for
Bug 284677
[Request Monitor] the response body is empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
clipboard.txt (text/plain), 2.27 KB, created by
Jacek Pospychala
on 2009-08-26 08:51:12 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jacek Pospychala
Created:
2009-08-26 08:51:12 EDT
Size:
2.27 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.atf.mozilla.ide.ui >Index: src/org/eclipse/atf/mozilla/ide/ui/netmon/MozNetworkMonitorAdapter.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.atf/components/plugins/org.eclipse.atf.mozilla.ide.ui/src/org/eclipse/atf/mozilla/ide/ui/netmon/MozNetworkMonitorAdapter.java,v >retrieving revision 1.4 >diff -u -r1.4 MozNetworkMonitorAdapter.java >--- src/org/eclipse/atf/mozilla/ide/ui/netmon/MozNetworkMonitorAdapter.java 20 Aug 2009 12:37:51 -0000 1.4 >+++ src/org/eclipse/atf/mozilla/ide/ui/netmon/MozNetworkMonitorAdapter.java 26 Aug 2009 12:50:21 -0000 >@@ -73,7 +73,7 @@ > protected class XHRHandler implements nsIDOMEventListener { > > // Mozilla XHR object >- protected nsIXMLHttpRequest xhr = null; >+ protected nsIXMLHttpRequest xhr; > > public XHRHandler(nsIXMLHttpRequest xhr) { > // cache the xhr to be able to query on ready-state changes >@@ -82,7 +82,7 @@ > nsIDOMEventTarget eventListener = (nsIDOMEventTarget) xhr.queryInterface(nsIDOMEventTarget.NS_IDOMEVENTTARGET_IID); > eventListener.addEventListener(ERROR_TYPE, this, false); > eventListener.addEventListener(LOAD_TYPE, this, false); >- eventListener.addEventListener(READYSTATE_TYPE, this, false); >+ //eventListener.addEventListener(READYSTATE_TYPE, this, false); > } > > protected final static int COMPLETE_READYSTATE = 4; >@@ -253,7 +253,7 @@ > * This means that I can QI to nsIXMLHTTPRequest > */ > nsIInterfaceRequestor intReq = httpChannel.getNotificationCallbacks(); >- nsIXMLHttpRequest xhr = (nsIXMLHttpRequest) intReq.queryInterface(nsIXMLHttpRequest.NS_IXMLHTTPREQUEST_IID); >+ nsIXMLHttpRequest xhr = (nsIXMLHttpRequest) intReq.getInterface(nsIXMLHttpRequest.NS_IXMLHTTPREQUEST_IID); > > handleXHRRequest(xhr); > >@@ -273,7 +273,7 @@ > callList.add(call, request); > return; > } catch (Exception e) { >- >+ MozIDEUIPlugin.log(e); > } > > } >@@ -304,7 +304,7 @@ > nsIInterfaceRequestor intReq = httpChannel.getNotificationCallbacks(); > > // can we QI to XHR? >- intReq.queryInterface(nsIXMLHttpRequest.NS_IXMLHTTPREQUEST_IID); >+ intReq.getInterface(nsIXMLHttpRequest.NS_IXMLHTTPREQUEST_IID); > > return; > } catch (XPCOMException e) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 284677
: 145661