On Wed, 28 Sep 2011 03:16:46 +0200, Jonas Sicking <jo...@sicking.cc> wrote:
So it sounds like your argument is that we should do <meta> prescan because we can do it without breaking any new ground. Not because it's better or was inherently safer before webkit tried it out.
It does seem better to decode resources in the manner they are encoded.
I'd much rather first debate what behavior we want and if we can try if that is safe. And we always have the option of only doing HTML parsing when .responseType is set to "document". That is unlikely to break a lot of content. And it saves users resources as it uses less memory.
I think it should have the same behavior as XML. No reason to make it harder for HTML.
-- Anne van Kesteren http://annevankesteren.nl/