Bug 284677

Summary: [Request Monitor] the response body is empty
Product: z_Archived Reporter: Roy Ganor <ganoro>
Component: ATFAssignee: Inbox <atf.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P1 CC: jacek.pospychala
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Roy Ganor CLA 2009-07-26 11:36:15 EDT
1. use the browsing tools to display "google.com"
2. in the request monitor view, click on one of the requests 
3. see that in the response group, the body is empty.

expected: should include the response content.

btw, I am using xulrunner 1.9.1 :)

-- Configuration Details --
Product: Eclipse SDK 3.5.0.v200906111540 (org.eclipse.sdk.ide)
Installed Features:
 org.eclipse.platform 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ
Comment 1 Jacek Pospychala CLA 2009-08-26 08:13:06 EDT
For some reason with XULRunner 1.9 we cannot anymore query httpChannel for nsIXMLHttpRequest interface, which worked in 1.8
It might be probable cause.
Comment 2 Jacek Pospychala CLA 2009-08-26 08:51:12 EDT
Created attachment 145661 [details]
patch

Bug was that we used queryInterface on nsIInterfaceRequestor, which triggered nsISupport impl. Using getInterface instead solves problem.

Another issues arise with listening to onreadystatechange, but I remember adding this listener earlier, so for now I just commented it out.
Let's see if there's any benefit of it and if not wipe out.
Comment 3 Jacek Pospychala CLA 2009-08-26 10:54:28 EDT
FIXED
Comment 4 Jacek Pospychala CLA 2010-04-09 08:56:02 EDT
Update fixed bugs Target Milestone as part of pre-release bugzilla cleanup.