W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2008

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 12 Jun 2008 04:34:11 +0000 (UTC)
To: Sunava Dutta <sunavad@windows.microsoft.com>
Cc: Web API public <public-webapi@w3.org>, IE8 Core AJAX SWAT Team <ieajax@microsoft.com>, "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0806120425571.6527@hixie.dreamhostps.com>

Some quick comments on some of the comments regarding the tests:

On Wed, 11 Jun 2008, Sunava Dutta wrote:
> http://tc.labs.opera.com/apis/XMLHttpRequest/responseXML/009.htm
> When Parsing Error happens, IE would still retain responseXML and put 
> error information on the object.  Isnt this better than null as there’s 
> more relevant information for the web developer?

How does one distinguish a document returned with parse error information 
from one that happens to look like a parse error but was well-formed?

I wouldn't mind including more information but it seems like it should be 

> http://tc.labs.opera.com/apis/XMLHttpRequest/responseXML/001.htm
> The test is expecting us to return NULL in case open() has not been 
> called.  We throw an exception in IE.  I’d pre fer if the spec says 
> “MUST return null OR an exception” otherwise I fear sites today will be 
> broken.

If a site is expecting an exception and gets null, then they'll get an 
exception when they try to dereferene the null, so in most cases it seems 
like this would work anyway.

> http://tc.labs.opera.com/apis/XMLHttpRequest/responseXML/012.htm
> http://tc.labs.opera.com/apis/XMLHttpRequest/responseXML/013.htm
> This test really doesn’t test XHR here. It seems to be focused on 
> manipulating the XML DOM. (I also don’t think Microsoft.XMLDOM supports 
> getElementById for an XML document FYI). Also, if I'm barking up the 
> wrong tree here please let me know!

I think it's important that we test that the DOM returned from XHR is DOM 
Core conformant just like any other, so this seems like an important and 
relevant testing area for XHR.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 12 June 2008 04:35:04 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:09 UTC