diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 07:13:44 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 07:13:44 +0000 |
commit | 344128dc6d961ef925071050cd360c09c7310488 (patch) | |
tree | f7844fd41ee30c8f123b8a6d93c6b1523cc2139c /webkit/port | |
parent | ccf7d64a4fa04ac14d4cc3060eac4f5e80413422 (diff) | |
download | chromium_src-344128dc6d961ef925071050cd360c09c7310488.zip chromium_src-344128dc6d961ef925071050cd360c09c7310488.tar.gz chromium_src-344128dc6d961ef925071050cd360c09c7310488.tar.bz2 |
Optimize the mime sniffer based on UMA data and move closer to the HTML 5 spec.
Removed over 50% of the heuristics while returning the same result 99.996% of
the time. Each heuristic we remove reduces the attack surface that honest sites
have to worry about when the serve third-party content.
Patch by Adam Barth
R=darin
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2997 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
0 files changed, 0 insertions, 0 deletions