Bug 284677 - [Request Monitor] the response body is empty
Summary: [Request Monitor] the response body is empty
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ATF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-26 11:36 EDT by Roy Ganor CLA
Modified: 2020-05-07 10:51 EDT (History)
1 user (show)

See Also:


Attachments
patch (2.27 KB, patch)
2009-08-26 08:51 EDT, Jacek Pospychala CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.