aperezdc / webkit2gtk-python-webextension-example

Example small C shim to load a Python script as a WebKit2 WebExtension
15 stars 4 forks source link

Issue in extensions? #4

Closed ghost closed 6 years ago

ghost commented 7 years ago

When calling request.get_http_headers() from webpage.connect("send-request", on_send_request) callback, current loading is killed. Is the issue in this module or in WebKit python bindings?

aperezdc commented 7 years ago

@gnumdk: Hi there! Thanks for reporting the issue. I would suspect that the issue is in the GObject-Introspection annotations (which are used by the Python bindings). A couple of questions:

I'll try to check this a bit to find the root cause of the problem.

ghost commented 7 years ago

WebKitGTK+ 2.16.1 Happen always.

ghost commented 6 years ago

It's fixed by this patch: https://bugzilla.gnome.org/show_bug.cgi?id=731501