On Tue, 16 Oct 2007 23:55:59 +0200, Julien Chaffraix <[EMAIL PROTECTED]> wrote:
while trying to correct getResponseHeader behaviour on WebKit (
http://bugs.webkit.org/show_bug.cgi?id=15356), it appears that most of the browsers [don't] raise a SYNTAX_ERR exception when the header argument does not match the field-name production (point 3 in getResponseHeader description).

The behaviour is to return an empty string on IE/Opera and return null on
Firefox.

WebKit has sided with the first option so we suggest that the draft is
updated to return an empty string in that case.

Updated the specification and added a testcase. Thanks for your feedback!

  http://dev.w3.org/2006/webapi/XMLHttpRequest/#getresponseheader
  http://tc.labs.opera.com/apis/XMLHttpRequest/getResponseHeader/009.htm


--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Reply via email to