[Webkit-unassigned] [Bug 36815] [Qt] [Gtk] Plug-ins having upper case in mime type are failing to load
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 13 22:10:42 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36815
--- Comment #3 from Paanky <maharana.pankaj at gmail.com> 2010-05-13 22:10:42 PST ---
WebKit converts all the characters in the Mime-Type string mentioned in the type="application/Sample-HelloWorld" attribute of the <object> tag to lower case as "application/sample-helloworld" and give it to the NPP_New() call.
So, even though in the HTML page object tag has type="application/Sample-HelloWorld" and I return "application/sample-helloworld" as mime-type from my Plug-in then it loads fine. But in Firefox this scenario does not work.
I could not find any where the reason of converting the attribute values to lower case explicitly.
I don't think that this problem is only for [Qt] or [Gtk] ports. This problem will be there if upper-cases MIME strings are returned from plug-ins in [Mac] port also.
Since RFC 2045 says that matching of media types should be case insensitive, So Plug-ins can have upper-case in their Mime-type strings.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list