[webkit-gtk] headless problem with http auth dialog

2013-04-17 Thread Jérémy Lal
Hi, is it possible to disable webkit-gtk default http auth dialog ? also, is it possible to handle http auth without user interaction ? Jérémy. ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] headless problem with http auth dialog

2013-04-18 Thread Jérémy Lal
On 18/04/2013 07:43, Emmanuel Rodriguez wrote: > On 17 April 2013 23:23, Jérémy Lal wrote: >> also, is it possible to handle http auth without user interaction ? >> > You can disable the default one and provide your own. You need to get a > handle to the default Soup

Re: [webkit-gtk] How to get start

2013-05-23 Thread Jérémy Lal
On 23/05/2013 11:24, 聂琨琳 wrote: > Hi everyone: >I am a student form China.Recently,I am in research how to use WebKit. > Now I had builded WebKit--gtk on Ubuntu. Then I got a lot of files in the > “WebKit Build” folder. > OK,If I want to develop my own browser based on webkit,where should I g

[webkit-gtk] Setting HTTP Cookie header in request ?

2014-08-26 Thread Jérémy Lal
Hi, using WebKit2-gtk3 2.4.4, this fails to set Cookie header, but succeeds in setting X-Cookie header: WebKitURIRequest* request = webkit_uri_request_new(uri); SoupMessageHeaders* headers = webkit_uri_request_get_http_headers(request); soup_message_headers_append(headers, "Cookie", "some=cookie"

[webkit-gtk] add data chunks to received-data signal callback ?

2014-08-31 Thread Jérémy Lal
webkit_web_resource_get_data is used to get a response data, but in case of big files, video for example, it can easily eats a lot of memory. The "received-data" signal would be a very nice place to receive the data chunks as they are downloaded. Is this possible or does it goes against webkit arch

Re: [webkit-gtk] add data chunks to received-data signal callback ?

2014-10-08 Thread Jérémy Lal
Le mercredi 08 octobre 2014 à 16:04 -0300, Gustavo Noronha Silva a écrit : > On Dom, 2014-08-31 at 23:31 +0200, Jérémy Lal wrote: > > webkit_web_resource_get_data is used to get a response data, but in case > > of big files, video for example, it can easily eats a lot of memory. &g

Re: [webkit-gtk] add data chunks to received-data signal callback ?

2014-10-08 Thread Jérémy Lal
un-top-posting your reply... Le mercredi 08 octobre 2014 à 12:45 -0700, Jim Nelson a écrit : > On Wed, Oct 8, 2014 at 12:14 PM, Jérémy Lal wrote: > > Le mercredi 08 octobre 2014 à 16:04 -0300, Gustavo Noronha Silva a > > écrit : > >> On Dom, 2014-08-31 at 23:31

[webkit-gtk] websocket requests not trackable ?

2014-10-31 Thread Jérémy Lal
Hi, it seems it is not possible to track websocket requests (or even better response frames) like it is for http requests using resource-load-started event. (this question somehow rejoin my previous question about streaming response data). I considered setting a ws: scheme handler, but that would

Re: [webkit-gtk] websocket requests not trackable ?

2014-10-31 Thread Jérémy Lal
I thought this wasn't possible with webkit2gtk ? Le vendredi 31 octobre 2014 à 16:58 -0300, Victor Lucero a écrit : > Hi. You need to hook to the soup session to get this info it seems > > El viernes, 31 de octubre de 2014, Jérémy Lal escribió: > > > Hi, > > >

[webkit-gtk] webkit_print_operation_get_page_setup returns NULL

2014-11-19 Thread Jérémy Lal
maybe a bug in webkitgtk: ``` webkit_print_operation_set_print_settings(op, settings); GtkPageSetup* setup = webkit_print_operation_get_page_setup(op); // setup is NULL here ``` but the doc says `It returns NULL until either webkit_print_operation_set_print_settings() or webkit_print_operation_r

Re: [webkit-gtk] Operation webkit_web_view_new() crashed when in multithreading

2014-11-19 Thread Jérémy Lal
That's a job for https://github.com/kapouer/node-webkitgtk :) Le mercredi 19 novembre 2014 à 10:09 -0800, Niranjan Rao a écrit : > We also use webkit for what essentially boils down to crawling because > of scenarios liuyang06 said. Ajax driven sites make life very > interesting as you are not s

[webkit-gtk] webkit2 missing webkit_web_view_set_transparent ?

2014-12-20 Thread Jérémy Lal
Hi, webkit_web_view_set_transparent has disappeared from webkit2gtk's API. Is there another way to achieve the same effect ? Regards, Jérémy. ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] webkit2 missing webkit_web_view_set_transparent ?

2014-12-29 Thread Jérémy Lal
Hi, Le lundi 29 décembre 2014 à 10:32 +0100, Carlos Garcia Campos a écrit : > El dom, 21-12-2014 a las 02:42 +0100, Jérémy Lal escribió: > > Hi, > > > > webkit_web_view_set_transparent has disappeared from webkit2gtk's API. > > Well, something th

Re: [webkit-gtk] webkit2 missing webkit_web_view_set_transparent ?

2015-01-15 Thread Jérémy Lal
Le lundi 29 décembre 2014 à 10:32 +0100, Carlos Garcia Campos a écrit : > > So, I find all this a bit messy. Exposing these methods in our API is > easy, but first we need to understand what all those methods do, and > what we want to expose and how. Here are more usages described by https://gith

Re: [webkit-gtk] webkit2 missing webkit_web_view_set_transparent ?

2015-01-16 Thread Jérémy Lal
Le vendredi 16 janvier 2015 à 15:49 +0100, Carlos Garcia Campos a écrit : > El vie, 16-01-2015 a las 15:38 +0100, Carlos Garcia Campos escribió: > > El jue, 15-01-2015 a las 18:38 +0100, Carlos Garcia Campos escribió: > > > El jue, 15-01-2015 a las 13:14 +0100, Jérémy Lal es

[webkit-gtk] six webviews with socket.io

2015-02-24 Thread Jérémy Lal
Hi, when i open six (!) webviews with a socket.io client started in each of them, meaning one (or maybe two) pending xhr requests (long polling) or websockets, the sixth webview socket.io client xhr hangs. Is there some kind of (low like 5) limit of shared open network connections between webkitg

Re: [webkit-gtk] six webviews with socket.io

2015-02-24 Thread Jérémy Lal
Le mercredi 25 février 2015 à 04:07 +0100, Jérémy Lal a écrit : > Hi, > > when i open six (!) webviews with a socket.io client started in each of > them, meaning one (or maybe two) pending xhr requests (long polling) or > websockets, the sixth webview socket.io client xhr hangs

Re: [webkit-gtk] six webviews with socket.io

2015-02-24 Thread Jérémy Lal
Le mercredi 25 février 2015 à 04:14 +0100, Jérémy Lal a écrit : > Le mercredi 25 février 2015 à 04:07 +0100, Jérémy Lal a écrit : > > Hi, > > > > when i open six (!) webviews with a socket.io client started in each of > > them, meaning one (or maybe two) pending xhr

[webkit-gtk] background not refreshed properly when scrolling to bottom of long page - gtk or webkit ?

2015-03-06 Thread Jérémy Lal
Just scroll to the bottom of this page to see what i mean: http://expressjs.com/4x/api.html i consistently reproduce that bug over fedora/21 or debian/jessie, webkitgtk 2.6 or 2.7, but have no idea wether it's a pure gtk bug or not. Jérémy. ___ webki

[webkit-gtk] webkit2gtk 2.7.4 sending cookie from cache after a 304 with missing Content-Type ?

2015-03-24 Thread Jérémy Lal
I'm seeing something very weird in a complicated setup here, and am trying to understand what's happening: 1 - open page urlA, Set-Cookie CA 2 - do xhr requests to urlB (ETag set in response) 3 - load same page urlA, Set-Cookie CB 4 - do xhr request to urlB 304 (If-None-Match hit), a response is s

Re: [webkit-gtk] webkit2gtk 2.7.4 sending cookie from cache after a 304 with missing Content-Type ?

2015-03-24 Thread Jérémy Lal
2015-03-24 21:21 GMT+01:00 Jérémy Lal : > I'm seeing something very weird in a complicated setup here, and am trying to > understand what's happening: > > 1 - open page urlA, Set-Cookie CA > 2 - do xhr requests to urlB (ETag set in response) > 3 - load same page urlA

Re: [webkit-gtk] webkit2gtk 2.7.4 sending cookie from cache after a 304 with missing Content-Type ?

2015-03-25 Thread Jérémy Lal
2015-03-25 11:29 GMT+01:00 Carlos Garcia Campos : > El mié, 25-03-2015 a las 11:20 +0100, Jérémy Lal escribió: >> 2015-03-25 9:01 GMT+01:00 Carlos Garcia Campos : >> > El mar, 24-03-2015 a las 22:48 +0100, Jérémy Lal escribió: >> >> 2015-03-24 21:21 GMT+01:00 J

[webkit-gtk] webkit_web_view_load_uri takes time all right, but a little too much ?

2015-04-24 Thread Jérémy Lal
Hi, in webkit2gtk 2.6 to 2.8 on linux (i did not check other versions), webkit_web_view_load_* methods seem to be spending more time than i expect before reaching WEBKIT_LOAD_COMMITTED signal. Hundreds of milliseconds when loading a local file or an html string of a locally hosted "regular" websit

Re: [webkit-gtk] webkit2gtk 2.7.4 sending cookie from cache after a 304 with missing Content-Type ?

2015-06-07 Thread Jérémy Lal
2015-03-25 11:38 GMT+01:00 Jérémy Lal : > 2015-03-25 11:29 GMT+01:00 Carlos Garcia Campos : > > El mié, 25-03-2015 a las 11:20 +0100, Jérémy Lal escribió: > >> 2015-03-25 9:01 GMT+01:00 Carlos Garcia Campos : > >> > El mar, 24-03-2015 a las 22:48 +0100, Jérémy Lal e

[webkit-gtk] webkit extension for gpg clear signing selected text

2015-11-05 Thread Jérémy Lal
Hi, i'd like to code that idea ! I would be able to do it quite easily if there was a dbus service for gpg encryption. Any idea if gnome-keyring do that ? If that's already being worked on ? If a new webkit extension concept will make that work deprecated ? Thanks for any insight. Jérémy ___

[webkit-gtk] NETWORK_NO_SOURCE with video in offscreen gtk window

2015-12-16 Thread Jérémy Lal
Hi, at some point this year (maybe webkitgtk 2.8) it was possible to "play" a video on a webview in an offscreen gtk window. Now it consistently fail with videoNode.networkState == 3, and works all right as soon as the window is not offscreen. I am not sure it's something that has to do with web

[webkit-gtk] animated gif that crashes the tab

2016-01-29 Thread Jérémy Lal
This file: epiphany-browser https://camo.githubusercontent.com/d0aad8bda1ffca6c06210c1c5edf2bacc5e23ff5/687474703a2f2f672e7265636f726469742e636f2f74644c664c59573443662e676966 crashes the tab on linu/debian (sid) with webkit2gtk 2.10.6 i'm not sure it's a webkit-gtk bug, though, so i'd to get a qu

[webkit-gtk] Usefulness of webkit_frame_is_main_frame ?

2016-02-23 Thread Jérémy Lal
Context: I want to prevent iframes from loading. I naively looked into getting the frame from which a policy decision came, or the frame for which a send request (in the extension) is called, but i can't find a way to get an actual frame instance from which webkit_frame_is_main_frame(frame) would t

[webkit-gtk] API: impossible to create a webview with context and user content manager

2016-03-31 Thread Jérémy Lal
I was trying to do so using webkit2gtk 2.12, but the API seems to not allow this. It would have been nice to be able to pass construct only properties to webkit_web_view_new() like it is possible with webkit_website_data_manager_new(...). Regards, Jérémy. _

Re: [webkit-gtk] API: impossible to create a webview with context and user content manager

2016-03-31 Thread Jérémy Lal
2016-03-31 15:21 GMT+02:00 Jérémy Lal : > I was trying to do so using webkit2gtk 2.12, but the API seems to not > allow this. > > It would have been nice to be able to pass construct only properties to > webkit_web_view_new() > like it is possible with webkit_website_data_manage

[webkit-gtk] futex connection timed out ~ 500ms delay when loading

2016-06-03 Thread Jérémy Lal
Hi, i always wondered why loading bytes into an already instantiated webview took so much time (~600ms) between the webkit_web_view_load_bytes() call and the first "change" event. Today i noticed that doing it twice in a row (< one second) reduced that time for the second call from ~600ms to ~100

Re: [webkit-gtk] futex connection timed out ~ 500ms delay when loading

2016-06-03 Thread Jérémy Lal
2016-06-03 11:36 GMT+02:00 Jérémy Lal : > Hi, > > i always wondered why loading bytes into an already instantiated webview > took so much time (~600ms) between the webkit_web_view_load_bytes() call > and the first > "change" event. > > Today i noticed that doi

Re: [webkit-gtk] futex connection timed out ~ 500ms delay when loading

2016-06-05 Thread Jérémy Lal
2016-06-03 16:18 GMT+02:00 Jérémy Lal : > > > 2016-06-03 11:36 GMT+02:00 Jérémy Lal : > >> Hi, >> >> i always wondered why loading bytes into an already instantiated webview >> took so much time (~600ms) between the webkit_web_view_load_bytes() call >> an

[webkit-gtk] 2.14 slower to initialize webviews ?

2016-09-21 Thread Jérémy Lal
I noticed version 2.14 is significantly slower to load several web views one after another. By load time i mean the time between a call to `webkit_web_view_load_uri()` and the first WEBKIT_LOAD_STARTED change event. In version 2.12 it takes half a second for the first load and less than 100ms whe

Re: [webkit-gtk] 2.14 slower to initialize webviews ?

2016-09-21 Thread Jérémy Lal
2016-09-21 13:54 GMT+02:00 Carlos Garcia Campos : > El mié, 21-09-2016 a las 12:05 +0200, Jérémy Lal escribió: > > I noticed version 2.14 is significantly slower to load several web > > views one after another. > > > > By load time i mean the time between a call to &g

Re: [webkit-gtk] 2.14 slower to initialize webviews ?

2016-09-21 Thread Jérémy Lal
2016-09-21 14:32 GMT+02:00 Carlos Garcia Campos : > El mié, 21-09-2016 a las 14:17 +0200, Jérémy Lal escribió: > > 2016-09-21 13:54 GMT+02:00 Carlos Garcia Campos : > > > El mié, 21-09-2016 a las 12:05 +0200, Jérémy Lal escribió: > > > > I noticed version 2.14 i

Re: [webkit-gtk] Modifying HTML before loading it in a WebView

2016-10-07 Thread Jérémy Lal
2016-10-07 5:45 GMT+02:00 Michael Gratton : > > Hey Adrián, > > Thanks for the suggestions and feedback — I've actually started work on > this and so am now running into these issues. > > On Wed, Aug 3, 2016 at 11:45 PM, Adrián Pérez de Castro > wrote: > > One of the things that needs to be taken

[webkit-gtk] navigation caused by setting iframe src is same type as setting main document location

2017-02-14 Thread Jérémy Lal
Hi, unless i did not find the right bit of documentation, i just get WEBKIT_NAVIGATION_TYPE_OTHER for both navigation actions (setting document.location or setting an iframe src). Could more navigation types be exposed, or is there nothing more precise to expose ? Jérémy ___

Re: [webkit-gtk] Calling a native (compiled) subprogram from JavaScript in WebKitGTK

2017-09-13 Thread Jérémy Lal
Also it's simpler to setup a limited javascript -> main process event listener using a "script message handler". 2017-09-13 17:46 GMT+02:00 Leo Ufimtsev : > Hello Ludovic, > > I'm doing something similar right now. > > For webkit2: > - you need to compile a webextension > - The web extension deal

[webkit-gtk] webkit2gtk 2.20, 2.22 crash on www.axis-praxis.org

2018-09-07 Thread Jérémy Lal
It's a website for testing variable fonts. Jérémy ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] webkit2gtk 2.20, 2.22 crash on www.axis-praxis.org

2018-09-07 Thread Jérémy Lal
Done ! 2018-09-07 13:58 GMT+02:00 Sergio Villar Senin : > O Ven, 07-09-2018 ás 09:39 +0200, Jérémy Lal escribiu: > > It's a website for testing variable fonts. > > Thanks for the report! > > Mind filing a bug in bugs.webkit.org? That's the place where we track

[webkit-gtk] detect javascript loops

2019-04-11 Thread Jérémy Lal
Hi, Does webkit(gtk) offer a way to detect client javascript that does things like that: ``` while (true) {} ``` Jérémy ___ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk

Re: [webkit-gtk] detect javascript loops

2019-04-11 Thread Jérémy Lal
Le jeu. 11 avr. 2019 à 15:38, Konstantin Tokarev a écrit : > > > 11.04.2019, 16:31, "Rena" : > > On Thu, Apr 11, 2019, 05:34 Jérémy Lal wrote: > >> Hi, > >> > >> Does webkit(gtk) offer a way to detect client javascript tha