Re: HTTP status code equivalents for file:// operations - compat with xhr

Without commenting on the results in other browsers:

On Tue, Aug 18, 2009 at 5:21 PM, Michael A. Puls II<shadow2531@gmail.com> wrote:
> Things that could be improved:
>
> 1. For Firefox and file_that_does_not_exist.txt, "Access to restricted URI
> denied" isn't the best message. Something like "file not found" would be way
> better.

Agreed.

> 2. For Firefox, http://www.google.com/webhp should throw an exception
> instead of just making responseText "".

Note that we let you load data from this url according to the CORS
spec [1]. So we can't just throw. But you should get an error event
eventually, do you not?

[1] http://dev.w3.org/2006/waf/access-control/

/ Jonas

Received on Wednesday, 19 August 2009 01:14:26 UTC