[webkit-dev] strange behaviour when loading local webpage using file://
Jenson Lui
jhnlui at gmail.com
Mon Mar 2 01:10:55 PST 2009
Hello all,
After some codes trace and I find that the g_file_info_get_content_type
is not function properly on my target board. So I wrote a simple test program
to test the g_file_info_get_content_type and discover that my target root
fs is missing the MIME database. By copy the MIME database, everything is
working fine now.
Anyway, thanks for the helps!
Regards,
Jenson
> On Sun, Mar 1, 2009 at 6:48 AM, x yz <lastguy at yahoo.com> wrote:
>>
>> you cross compile to which CPU/OS? using which version/compiler?
>>
>>
>> --- On Sat, 2/28/09, Jenson Lui <jhnlui at gmail.com> wrote:
>>
>>> From: Jenson Lui <jhnlui at gmail.com>
>>> Subject: Re: [webkit-dev] strange behaviour when loading local webpage using file://
>>> To: webkit-dev at lists.webkit.org
>>> Date: Saturday, February 28, 2009, 4:32 PM
>>> Hello,
>>>
>>> hmm...actually I did a search and only find something
>>> related by
>>> Dhananjoy Chutia's email. However, look like no one
>>> reply to
>>> the issue (or i miss the email reply?) It would be nice if
>>> anyone can
>>> help to copy the reply or show the link to it. Thanks!
>>>
>>> Regards,
>>> Hung
>>>
>>> the email is quoted here
>>> ================begin==========================
>>> Hi,
>>> Here are some observations:
>>>
>>> When I try to load file:///home/dhananjoy/index.html , the
>>> following error
>>> is shown.
>>> GLib-GIO-CRITICAL **: g_file_read_async: assertion
>>> `G_IS_FILE (file)'
>>> failed.
>>>
>>> As per my observation d->m_gfile is not NULL upto the
>>> statement
>>> client->didReceiveResponse(handle, response); : line no
>>> 590 in
>>> WebCore/platform/network/soup/ResourceHandleSoup.cpp
>>> But, afterward d->m_gfile becomes NULL.
>>>
>>> It is to be noted that my I am using glib-2.15.3.
>>>
>>> Regards
>>> Dhananjoy
>>> ================end==========================
>>>
>>> On Sat, Feb 28, 2009 at 1:36 AM, x yz
>>> <lastguy at yahoo.com> wrote:
>>> >
>>> > search for previous discussions.
>>> >
>>> >
>>> > --- On Fri, 2/27/09, Jenson Lui
>>> <jhnlui at gmail.com> wrote:
>>> >
>>> >> From: Jenson Lui <jhnlui at gmail.com>
>>> >> Subject: [webkit-dev] strange behaviour when
>>> loading local webpage using file://
>>> >> To: webkit-dev at lists.webkit.org
>>> >> Date: Friday, February 27, 2009, 3:52 PM
>>> >> Hello all,
>>> >>
>>> >> I encounter a strange problem.
>>> >> I cross compile latest webkit engine and use it in
>>> my
>>> >> application.
>>> >> When I try to load a web page from local using
>>> file://,
>>> >> instead of
>>> >> rendering the html,
>>> >> the actual html text is display, i.e.
>>> >> "<html..." is shown.
>>> >> I try the lt-Gtklauncher in my target, same
>>> result.
>>> >> However, when I try the x86 build of the same
>>> revision with
>>> >> the same html page.
>>> >> The html page is rendered as normal.
>>> >> I am using the same set of options when do the
>>> cross
>>> >> compile & x86 build.
>>> >> I am not sure if there is anything wrong? Does
>>> anyone have
>>> >> the same problem?
>>> >>
>>> >> Thanks!
>>> >>
>>> >> Regards,
>>> >> Jenson
>>> >> _______________________________________________
>>> >> webkit-dev mailing list
>>> >> webkit-dev at lists.webkit.org
>>> >>
>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>> >
>>> >
>>> >
>>> >
>>> _______________________________________________
>>> webkit-dev mailing list
>>> webkit-dev at lists.webkit.org
>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>
>>
>>
>>
>
More information about the webkit-dev
mailing list