W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 19 Nov 2011 01:03:03 +1300
Message-ID: <4EC64977.3090805@mit.edu>
To: public-webapps@w3.org
On 11/19/11 12:52 AM, Julian Reschke wrote:
> <http://dev.w3.org/html5/workers/#importing-scripts-and-libraries> says.

For what it's worth, Gecko's worker loading code runs the same algorithm 
to determine the charset as the algorithm used for <script src> (except 
of course it does not have access to any "charset" attributes on an 

And by "same algorithm" I mean "they call the same function in our code 
which takes the HTTP headers, document object, value of @charset, and 
bytes and returns a Unicode string".

If we have UA compat on that behavior, it makes more sense to 
standardize it than to standardize the UTF-8-only thing, perhaps....

Received on Friday, 18 November 2011 12:03:49 UTC

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