W3C home > Mailing lists > Public > public-webapi@w3.org > October 2007

Re: [XHR] Correction in getResponseHeader behaviour

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 18 Oct 2007 14:28:06 +0200
To: "Julien Chaffraix" <julien.chaffraix@gmail.com>, public-webapi@w3.org
Message-ID: <op.t0d7k4br64w2qv@annevk-t60.oslo.opera.com>

On Tue, 16 Oct 2007 23:55:59 +0200, Julien Chaffraix  
<julien.chaffraix@gmail.com> 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!


Anne van Kesteren
Received on Thursday, 18 October 2007 12:28:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:24 UTC