User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) Gecko/20080404 Firefox/18.104.22.168 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:22.214.171.124) Gecko/20080404 Firefox/126.96.36.199 Steps to repro: 1. From the server side send a header in the response containing a blank value. the back end I use is Java 5 based, JSP, Struts 2.0 and Tomcat 6.0. I am also using Ajax via Yahoo user Interface. 2. try to execute JS method getResponseHeader("aboveheadername") on xmlhttprequest obj and check out the value in console (firebug) or an alert stmt. it appears as undefined. the header exists and its actual value i.e is a blank should be shown. Reproducible: Always Steps to Reproduce: 1.see details 2. 3. Actual Results: getResponseHeader returns undefined Expected Results: a blank string
In fact as the above link suggests, getRespHeader must return null for the value of a header that does not exist, instead it seems to be returning undefined. this method is wrongly implemented
Reporter, are you still seeing this issue with Firefox 3.6.9 or later in safe mode? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2010-10-01]
Version: unspecified → 2.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.10 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.