[webkit-gtk] web context: overriding handling of http[s] schemes

Maxence Guesdon Maxence.Guesdon at inria.fr
Fri Mar 30 02:07:04 PDT 2018

On Thu, 29 Mar 2018 23:11:51 +0200
Maxence Guesdon <Maxence.Guesdon at inria.fr> wrote:

> 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" .

To reproduce, I put a small program here:
with the command line used to compile in a comment on first line.
Just run ./wk .



More information about the webkit-gtk mailing list