RE: <Further LC Followup from IE> RE: Potential bugs identified in XHR LC Test Suite

On Sun, 15 Jun 2008, Zhenbin Xu wrote:
> 
> The issue of return "null or an exception" is simply a compromise here. 
> IE would throw an exception for state violations. Accessing responseXML 
> before open() is a state violation so it would trigger exception. Other 
> browsers may return null in such situation.  In order to accommodate all 
> browsers, the spec would have to be rewritten in some way.

Or the browsers could change, which is how we get interoperability.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 16 June 2008 20:50:39 UTC