RESOLVED INVALID 124405
[GTK] [Stable] Callbacks from webkit_web_context_register_uri_scheme are not called
https://bugs.webkit.org/show_bug.cgi?id=124405
Summary [GTK] [Stable] Callbacks from webkit_web_context_register_uri_scheme are not ...
Tomas Popela
Reported 2013-11-15 03:57:42 PST
While porting Evolution to WebKit2 I hit strange bug. The callbacks from webkit_web_context_register_uri_scheme are not called when the request with given URI scheme is called. Actually it's working fine in webkitgtk-2.0.4, but not working in webkitgtk-2.2.2 and in trunk. You can test the code from wip-webkit2 branch in Evolution repo.
Attachments
Carlos Garcia Campos
Comment 1 2013-11-15 04:01:07 PST
hmm, unit tests pass and about: handlers in ephy work here too.
Tomas Popela
Comment 2 2014-09-23 04:24:20 PDT
Closing as it was caused by misuse of the webkitgtk APIs.
宋文武
Comment 3 2016-02-04 17:49:48 PST
Hi! Is it true that 'about' is a reversed scheme, and the right use of the APIs is using something like 'xxx-about' and use tricks like ephy_embed_utils_normalize_address? If so, it's better to document this in the reference manual.
Note You need to log in before you can comment on or make changes to this bug.