Re: [whatwg/encoding] Amount of bytes to sniff for encoding detection (#102)

One sixth of detections failing seems like a high error rate, so I think this data indicates we should standardize the number to 4096.

For the slippery-slope argument that Chromium might eventually increase meta tag scanning number to 4096 as well, we'd be happy to add a unit test (perhaps web platform test?) verifying that meta tag scan fails if past 1024 bytes.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/102#issuecomment-302618248

Received on Friday, 19 May 2017 06:15:01 UTC