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

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

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


Received on Wednesday, 17 October 2007 13:14:05 UTC

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