El jue, 29-03-2018 a las 23:11 +0200, Maxence Guesdon escribió: > Hello, > > I use Webkit2-4 2.10 and Gtk-3.18 (on ubuntu xenial) > > In an application, I have a webkit web view. When I set a callback > for > the http or https schemes, using > webkit_web_context_register_uri_scheme, > I get the following error: > > (process:8909): libsoup-CRITICAL **: soup_request_http_get_message: > assertion 'SOUP_IS_REQUEST_HTTP (http)' failed > > and the web view displays: "The URL can’t be shown" .
Custom URI schemes are for new schemes, not for overriding existing ones. We should check it and fail earlier, though. > If I set my callback for another scheme, everything goes well. Is it > possible to override the handling of http and https schemes ? (I hope > so) > > Regards, > > Maxence > > _______________________________________________ > webkit-gtk mailing list > webkit-gtk@lists.webkit.org > 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 webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk