El mar, 18-03-2014 a las 16:23 +0000, Mario Sanchez Prada escribió: > Hi Sven, > > Thanks for the feedback, you confirmed that this is not a so strange use > case after all, so I filed the bug in bugzilla and attached a patch proposal > for it, before I get busy with something else that makes me forget about it > :): > https://bugs.webkit.org/show_bug.cgi?id=130398
Would a load_file API help? WebPageProxy has a method to load local files that receives a resourcesDir param that is granted read access. We could expose that as void webkit_web_view_load_file (WebKitWebView *web_view, const gchar *filename, const gchar *allow_read_access_dir); We could also check in other load methods like webkit_web_view_load_uri, if the given uri is a file:// and call webkit_web_view_load_file instead. > Thanks, > Mario > > > I'd really appreciate it, we're using Chromium with this to locally > > test web applications. Being able to use (Py)WebkitGTK would make > > testing a lot easier. :-) > > > _______________________________________________ > webkit-gtk mailing list > [email protected] > https://lists.webkit.org/mailman/listinfo/webkit-gtk > -- Carlos Garcia Campos http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
signature.asc
Description: This is a digitally signed message part
_______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
