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 MIMETypeRegistry::canShowMIMEType use startsWithIgnoringASCIICase 
instead?

-- 
Regards,
Konstantin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to