hi Darin

first i didnt mean it's a bug now
my question is in the ' definition of DOMImplenentation::isTextMIMEType'
interface
because now WebKit on Android port has used (or misused) this interface and
cause some problems
so i post my questions to this mailing list

for other ports of webkit
they didnt use this interface, so i now focus on the android port

http://android.git.kernel.org/?p=platform/external/webkit.git;a=blob;f=WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp;h=c567c665f3fae0061e4906e73dd6ebd0a3cb5234;hb=HEAD#l428
here it decides the policy stage of this mimetype

then it calls canShowMIMEType
http://android.git.kernel.org/?p=platform/external/webkit.git;a=blob;f=WebKit/android/WebCoreSupport/FrameLoaderClientAndroid.cpp;h=c567c665f3fae0061e4906e73dd6ebd0a3cb5234;hb=HEAD#l694

and in this function
it uses DOMImplementation::isTextMIMEType to check
because here the interface returns 'true' therefore android port thought
this should be handled internally
and didnt make it in a POLICY_DOWNLOAD stage

however, in the implementation of DOMImplementation::isTextMIMEType
it treats all mime types starts with "text/' as DOM except text/html and
 text/xml

because the definition and implementation of this interface arent precisely
defined
and cause some mis-understanding here
so i post this message to request for your great opinion

thanks



On Fri, May 28, 2010 at 11:21 AM, Darin Adler <[email protected]> wrote:

> What does Firefox do with files of this MIME type? What does Internet
> Explorer do? Please add that information to the bug.
>
>    -- Darin
>
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to