[webkit-gtk] Window.Open and relative url

Sergio Villar Senin svillar at igalia.com
Tue Feb 3 08:11:20 PST 2015


On 02/02/15 14:14, Adrien Schwartzentruber wrote:
> Helly guys,
> 
> This is my use case : 
>  - Create a WebView for http://127.0.0.1
>       -> from the web site open a popup with a specific url (say
> 192.168.1.10)
>  - Create a WebView in the "create" callback
>       -> from the web site (192.168.1.10) open a popup with a relative
> url (say : pouet.html )
>  - Create a WebView in the "create" callback
> 
>       ==> the new webkitview url is : http://127.0.0.1/pouet.html
> 
> Webkit version : 2.4

[...]

> My question : why the opened url is base on 127.0.0.1 ? How do I change
> this behavior to open the popup with the address
> http://192.168.1.10/pouet.html

A recent fix landed for WebKit2 related to that
https://bugs.webkit.org/show_bug.cgi?id=139023. Perhaps the issue was
present also in WebKit1 API.

BR



More information about the webkit-gtk mailing list