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

I'd rather we formally indicate that using file urls in
XMLHttpRequests is not expected to work with an explanation that there
are security concerns which prevent XMLHttpRequest safely exposing
arbitrary file urls.

People who need access to local files should use a locally bound web
server or if the content is something they control, JSON or an iframe.

something like:
In order for implementations to protect their users, XMLHttpRequest
implementations MAY choose not to support file urls or MAY choose
whatever error values they like.

Received on Tuesday, 18 August 2009 10:23:30 UTC