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

Re: ISSUE-101: Network errors for sync requests

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 23 Feb 2007 16:52:58 +0100
To: "Mike Wilson" <mikewse@hotmail.com>, public-webapi@w3.org
Message-ID: <op.tn7k2kg564w2qv@id-c0020.driveway.uu.nl>

On Thu, 22 Feb 2007 16:51:30 +0100, Mike Wilson <mikewse@hotmail.com>  
wrote:
> But a script checking response status or content will have the correct
> exception thrown at inspection time. See example below, where a network
> error would cause a deferred exception to be thrown at the test for
> "this.status == 200".
> [...]

I don't think this is possible given current implementations and deployed  
content. I would've liked for async and sync to be more the same, but then  
more that send() doesn't throw an exception as it does now...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 23 February 2007 15:53:11 GMT

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