W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: data and blob URLs in HTTP context

From: Kyle Huey <me@kylehuey.com>
Date: Wed, 15 Feb 2012 05:42:23 -0800
Message-ID: <CAP045AqEZoi4J1wK7joP=Pi+QgPqJWM+J=iZgFFMt9BZZSNj9w@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>
On Wed, Feb 15, 2012 at 4:45 AM, Julian Reschke <julian.reschke@gmx.de>wrote:

> On 2012-02-15 13:13, Julian Reschke wrote:
>
>> On 2012-02-15 11:04, Anne van Kesteren wrote:
>>
>>> On Sun, 05 Feb 2012 17:30:09 +0100, Julian Reschke
>>> <julian.reschke@gmx.de> wrote:
>>>
>>>> On 2012-02-05 15:56, Anne van Kesteren wrote:
>>>>
>>>>> Currently Opera and Firefox seem to support data URLs within the
>>>>> context
>>>>> of XMLHttpRequest. Status is 0, status text is the empty string, there
>>>>> are no response headers, and response-related attributes work as
>>>>> expected.
>>>>> ...
>>>>>
>>>>
>>>> No Content-Type response header?
>>>>
>>>
>>> As far as I can tell, no.
>>>
>>
>> Well, data URIs come with a content type, so when XHR supports them,
>> this header field should be made available...
>>
>> Best regards, Julian
>>
>
> Can't get it to work in Firefox 10 (Error: uncaught exception:
> [Exception... "Access to restricted URI denied"  code: "1012" nsresult:
> "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "http://greenbytes.de/tech/
> **webdav/data.html <http://greenbytes.de/tech/webdav/data.html> Line:
> 8"]).
>
>
XHR to data URIs is first supported in Gecko 12.  See
https://bugzilla.mozilla.org/show_bug.cgi?id=702820.

- Kyle
Received on Wednesday, 15 February 2012 13:43:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT