DescriptionAdding sniffing of MHTML files.
In order to support opening MHTML files, we need to sniff for them.
Since they have a header that might be fairly long before they can
be identified with certainty, we have to rely on the file extension.
At this point WebKit does not support MHTML, so Chrome only displays it as plain/text (as it does without this CL).
BUG=30863
TEST=Run the unit-tests.
Patch Set 1 #Patch Set 2 : Adding unit-tests #
|