W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 18 Aug 2009 18:13:20 -0700
Message-ID: <63df84f0908181813q231f2babk638e5b618ac06e1c@mail.gmail.com>
To: "Michael A. Puls II" <shadow2531@gmail.com>
Cc: Adam Barth <w3c@adambarth.com>, timeless@gmail.com, Anne van Kesteren <annevk@opera.com>, public-webapps@w3.org
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.


> 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

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