mathstuf / uzbl

A web browser that adheres to the unix philosophy.
http://www.uzbl.org
GNU General Public License v3.0
5 stars 2 forks source link

Get more information from SSL errors #3

Open mathstuf opened 11 years ago

mathstuf commented 11 years ago

Better information as well as temporarily triggering ssl_verify should be possible. See docs for webkit1[1] and webkit2[2].

[1]https://developer.gnome.org/libsoup/stable/SoupMessage.html#soup-message-get-https-status [2]http://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#webkit-web-view-get-tls-info

mathstuf commented 10 years ago

Implemented for WebKit2. WebKit1 underway.

mathstuf commented 10 years ago

WebKit1 seems to be broken (the API is there, the requisite information isn't available though…tracing down where it gets lost).

nmeum commented 10 years ago

WebKit1 seems to be broken

A bit offtopic but why is webkit1 still supported by uzbl? Is there any distribution which dosen't ship webkit2 or webkit3 yet? Further more, it would be easier to maintain the code if uzbl wouldn't support all three versions of webkit…

mathstuf commented 10 years ago

WebKit1 != webkitgtk 1.0. WebKit has WebCore which is most of the code, then two APIs for ports (I.e., GTK, EFL, Qt, etc.) to use. WebKit1 is older and more "traditional" while WebKit2 is multiprocess. The multiprocess requires extra code (a WebKitWebExtention) and a communication channel for uzbl to use, all of which has not been written yet (without it, JS won't work).

Other than that, there is GTK2 and GTK3 support to worry about. WebKit2 only supports GTK3 and I think most distros use GTK3 with uzbl.