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

[XHR] Correction in getResponseHeader behaviour

From: Julien Chaffraix <julien.chaffraix@gmail.com>
Date: Tue, 16 Oct 2007 22:55:59 +0100
Message-ID: <4b6072ae0710161455y8056de7g47a7a5c850b68418@mail.gmail.com>
To: public-webapi@w3.org
Hi,

while trying to correct getResponseHeader behaviour on WebKit (
http://bugs.webkit.org/show_bug.cgi?id=15356), it appears that most of the
browsers do 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.

Regards,

Julien
Received on Wednesday, 17 October 2007 13:14:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:58 GMT