- From: Jonas Sicking <jonas@sicking.cc>
- Date: Mon, 11 Feb 2008 17:56:12 -0800
- To: "Hallvord R. M. Steen" <hallvord@opera.com>
- CC: Charles McCathieNevile <chaals@opera.com>, "Web API WG (public)" <public-webapi@w3.org>
Hallvord R. M. Steen wrote: > > On Sat, 09 Feb 2008 11:46:02 +0100, Charles McCathieNevile > <chaals@opera.com> wrote: > >> According to MS' testing 4 major browsers (I am guessing they mean >> Opera, Safari, Mozilla/FF and IE although I am not actually sure) all >> fail the following tests. > >> http://tc.labs.opera.com/apis/XMLHttpRequest/responseXML/009.htm > > That test is half-fixed, well the TC bug is fixed. Neither Opera 9.5, > Firefox 2, nor IE 7 pass though. > > Opera 9.5 - returns a document but it's empty (document.documentElement > is null) > IE7 - like Opera > Firefox 2 - returns a <parsererror> document > Safari - passes test > > There is a possible web content compatibility issue here if functions > that expect documents may throw on null input. For example, does > xsltprocessor.importStylesheet(null) throw? If it does the > implementation we test for might break content that expects a broken > document error to be handled differently. At least in firefox xsltprocess.importStylesheet will throw if given anything but a valid XSLT stylesheet. I.e. null, random XML, and <parseerror> will throw. / Jonas
Received on Tuesday, 12 February 2008 01:58:30 UTC