DescriptionMIME type predicates and case-insensitive matching.
The registered type portion of a MIME type must be compared
case-insensitively for equality. Make all Blink-side predicates (e.g.,
is*MIMEType()) do such equality testing.
If the equality testing delegates to external platform predicates,
then ensure that the MIME type is first translated to lower case.
(This is due to the net/base/ MIME type predicates assuming
lower-cased input.)
The downstream benefit of this is that we can let go of various
explicit lower case conversions before invoking these predicates.
R=jochen
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164453
Patch Set 1 #Patch Set 2 : Disambiguate char/UChar comparison #
Total comments: 3
Patch Set 3 : Simplify check for empty +xml subtype #
Messages
Total messages: 6 (0 generated)
|