Bug 124405

Summary: [GTK] [Stable] Callbacks from webkit_web_context_register_uri_scheme are not called
Product: WebKit Reporter: Tomas Popela <tpopela>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: cgarcia, iyzsong
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.