For URIs like foo:bar#baz, what the custom protocol manager receives in the UI process is foo:bar, so the user can't handle fragments. Wrote a test case for GTK, see: /webkit2/WebKitWebContext/uri-scheme: ** ERROR:../../Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestWebKitWebContext.cpp:220:void testWebContextURIScheme(URISchemeTest*, gconstpointer): assertion failed (webkit_uri_scheme_request_get_uri(test->m_uriSchemeRequest.get()) == "echo:with#fragment"): ("echo:with" == "echo:with#fragment")
Created attachment 254877 [details] Patch
Comment on attachment 254877 [details] Patch r=me
Committed r185553: <http://trac.webkit.org/changeset/185553>