Re: Firefox bug: "Worker" load ignores Content-Type version parameter

On 2011-11-18 06:34, Bjoern Hoehrmann wrote:
> So,
>
>    http://lists.w3.org/Archives/Public/www-archive/2008Jul/0009.html I
> wondered whether this would work with "Web Workers". Well, first I ran
> into https://bugzilla.mozilla.org/show_bug.cgi?id=683280 apparently
> Firefox does not like loading "Workers" from host names with only one
> component. Working around that, my script still would not load, Fire-
> fox apparently ignores the version parameter in
>
>    Content-Type: application/javascript;version=1.7
> ...

I recently started looking at FF's Content-Type related code. As far as 
I can tell, there are at least two code paths, one taken for the HTTP 
header field, one for HTML media type attributes. There may be more.

The HTTP code definitively only processes the charset parameter.

Best regards, Julian

Received on Friday, 18 November 2011 08:33:09 UTC