[webkit-help] GTKLauncher displays html source code

Jason Mendonler oilehus at yahoo.com
Wed May 19 19:30:49 PDT 2010

Hi Kwang,

Thank you for your reply. 
Yes, the page was loaded from the local file system, the file name is "hello.html", it should be recognized as "text/html", but it was still displayed as the raw html data. It was ok if I ran it from the machine where I built WebKit, but after I copied  GTKLauncher and all WebKit library files into the target machine, it showed all files as raw data. Is that because I didn't copy some files to the target machine? Is there a file to define the  MIME type mappings for the local files?


From: KwangYul Seo <skyul at company100.net>
To: Jason Mendonler <oilehus at yahoo.com>
Cc: webkit-help at lists.webkit.org
Sent: Wed, May 19, 2010 5:55:21 PM
Subject: Re: [webkit-help] GTKLauncher displays html source code


Did you load the page from the local file system? If a page is loaded from the local file system, the MIME type is determined from the file extension. So only files with htm and html extension are recognized as "text/html".

Kwang Yul Seo

On Thu, May 20, 2010 at 3:18 AM, Jason Mendonler <oilehus at yahoo.com> wrote:

>After building WebKit/GTK/DirectFB, when I ran GTKLauncher, it displays the html source code instead of the contents (e.g. images). Any ideas why? Is there a setting to change to dispaly html contents?
>Thanks in advance!
>webkit-help mailing list
>webkit-help at lists.webkit.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100519/ddc08350/attachment.html>

More information about the webkit-help mailing list