Bug 124405 - [GTK] [Stable] Callbacks from webkit_web_context_register_uri_scheme are not called
Summary: [GTK] [Stable] Callbacks from webkit_web_context_register_uri_scheme are not ...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-15 03:57 PST by Tomas Popela
Modified: 2016-02-04 17:49 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Popela 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.
Comment 1 Carlos Garcia Campos 2013-11-15 04:01:07 PST
hmm, unit tests pass and about: handlers in ephy work here too.
Comment 2 Tomas Popela 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.