[webkit-help] Get the content of text file with docLoader

Sunil ksingh.sunil at gmail.com
Fri Jan 17 23:26:58 PST 2014


Hi,

An url to a text file is provided. How can we get the content of the text
file with the help of docLoader when text file is provided as an url?

Thanks,
Sunil
On Jan 18, 2014 1:30 AM, <webkit-help-request at lists.webkit.org> wrote:

Send webkit-help mailing list submissions to
        webkit-help at lists.webkit.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.webkit.org/mailman/listinfo/webkit-help
or, via email, send a message with subject or body 'help' to
        webkit-help-request at lists.webkit.org

You can reach the person managing the list at
        webkit-help-owner at lists.webkit.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of webkit-help digest..."


Today's Topics:

   1. Re: webkit_web_view_load_html ignoring css files
      (Benjamin Poulain)
   2. Re: webkit_web_view_load_html ignoring css files (sami wagiaalla)


----------------------------------------------------------------------

Message: 1
Date: Thu, 16 Jan 2014 13:35:15 -0800
From: Benjamin Poulain <benjamin at webkit.org>
To: webkit-help at lists.webkit.org
Subject: Re: [webkit-help] webkit_web_view_load_html ignoring css
        files
Message-ID: <52D85093.3090303 at webkit.org>
Content-Type: text/plain; charset=ISO-8859-1

Hi Sami,

You should try email webkit-gtk instead of webkit-help, all the GTK
experts are on webkit-gtk.

On 16/01/2014 09:00, sami wagiaalla wrote:
> I am working on porting the Eclipse SWT browser from WebKit1 to
> WebKit2 and i am having trouble with this function
> webkit_web_view_load_html.
>
> It seems that if I load a page using webkit_web_view_load_uri it works
> fine but if I try to load the content of that page via
> webkit_web_view_load_html only part of the content is loaded; some
> images and all CSS is ignored.
>
> This is the content of the page I am trying to load:
> http://fpaste.org/69014/89115313/ (I can construct a smaller example
> of that helps)
>
> As base_uri I provide "file:///"
>
> I tried listening for load errors but there were none.
>
> Any help would be greatly appreciated
Given the content, I suspect you are hitting security restrictions
preventing the load of local files.

Cheers,
Benjamin


------------------------------

Message: 2
Date: Thu, 16 Jan 2014 16:46:46 -0500
From: sami wagiaalla <swagiaal at redhat.com>
To: Benjamin Poulain <benjamin at webkit.org>,
        webkit-help at lists.webkit.org
Subject: Re: [webkit-help] webkit_web_view_load_html ignoring css
        files
Message-ID: <52D85346.8030209 at redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Benjamin,

> You should try email webkit-gtk instead of webkit-help, all the GTK
> experts are on webkit-gtk.
>

Will do. Thanks for he pointer.

> Given the content, I suspect you are hitting security restrictions
> preventing the load of local files.
>

It does sound like it. If so I hope there is a way to change the
settings. I have not found anything like that.

Thanks!
   Sami


------------------------------

_______________________________________________
webkit-help mailing list
webkit-help at lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-help


End of webkit-help Digest, Vol 55, Issue 13
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20140118/60139687/attachment.html>


More information about the webkit-help mailing list