jeandrek / kea-browser

A lightweight WebKit-based browser.
http://jonathan50.github.io/kea-browser/
GNU General Public License v3.0
6 stars 2 forks source link

Custom URI schemes never load and don't call callback #3

Closed jeandrek closed 7 years ago

jeandrek commented 8 years ago

?

jeandrek commented 8 years ago
void
register_schemes(WebKitWebContext *context)
{
  webkit_web_context_register_uri_scheme(context, "about",
                        (WebKitURISchemeRequestCallback)about_protocol_request,
                        NULL, NULL);
}

it should work... I can't see anything wrong with it...

jeandrek commented 8 years ago

I'll try

void
register_schemes(WebKitWebContext *context)
{
  webkit_web_context_register_uri_scheme(context, "about",
                        WEBKIT_URI_SCHEME_REQUEST_CALLBACK(about_protocol_request),
                        NULL, NULL);
}

but it's odd I get no error...

jeandrek commented 8 years ago

NOO IT DOESN'T WORK IT'S NOT DEFINED

jeandrek commented 8 years ago

https://bugs.webkit.org/show_bug.cgi?id=124405 srsly? It doesn't explain what was wrong??

jeandrek commented 8 years ago

Argh no why

jeandrek commented 8 years ago

halp

jeandrek commented 8 years ago

hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

serverhiccups commented 8 years ago

The sooner this gets fixed the sooner we are to v0.2S1...

serverhiccups commented 8 years ago

That bug was never a bug.

ghost commented 8 years ago

Hi, I'm confused by this too = = You use kea-about as scheme, and may do some uri rewrititg like ephy_embed_utils_normalize_address.

jeandrek commented 7 years ago

@ghost Wait. You're right. If I make it register something different from just about, it works!

jeandrek commented 7 years ago

This is mysterious. Thanks.

jeandrek commented 7 years ago

After almost two years, it is fixed with v0.2.5!!!!!!!!!