DescriptionStop emitting warnings for mime types not recognized by Android.
Chromium attempts to get mime types based on extensions by (1) checking
the primary list in mime_util.cc, (2) querying the OS for the mime type or
(3) checking the list of secondary mappings.
For Android, a warning message is being emitted when an extension can't
be found during step (2), which calls URLConnection.guessContentTypeFromName
in Java. The most common extension causing the warning is "js", which will be
resolved as part of the secondary mappings in step (3). This voids the warning.
BUG=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166192
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|