[webkit-dev] Is MIMETypeRegistry::canShowMIMEType supposed to accept lowercase or unknown case?

2016-02-12 Thread Konstantin Tokarev
Hello, In WebProcess/WebPage/WebPage.cpp MIMETypeRegistry::canShowMIMEType seems to be called with argument of unknown case (the same string is then looked up in ASCIICaseInsensitiveHash). However, MIMETypeRegistry::canShowMIMEType does a case-sensitive startsWith("text/"). Should

Re: [webkit-dev] Is MIMETypeRegistry::canShowMIMEType supposed to accept lowercase or unknown case?

2016-02-12 Thread Darin Adler
> On Feb 12, 2016, at 5:33 AM, Konstantin Tokarev wrote: > > In WebProcess/WebPage/WebPage.cpp MIMETypeRegistry::canShowMIMEType seems to > be called with argument of unknown case (the same string is then looked up in > ASCIICaseInsensitiveHash). > > However,