[webkit-dev] Javascript window.open handling in GTK

Weber, Bernd BWEBE at dolby.com
Mon Oct 6 18:37:36 PDT 2008


Thanks Gustavo!

I applied the patch and after some additional code changes in
GtkLauncher it works. Actually pretty well!! :) I had a much less
sophisticated version in my tree.
One thing missing right now is window.close() from what I can see. Did
you leave that out intentionally? I guess we need a similar signal in
ChromeClient::closeWindowSoon() for that, e.g. "close-web-view".

-Bernd



-----Original Message-----
From: webkit-dev-bounces at lists.webkit.org
[mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of Gustavo
Noronha Silva
Sent: Friday, October 03, 2008 2:24 AM
To: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] Javascript window.open handling in GTK

On Wed, 2008-10-01 at 15:18 -0700, Weber, Bernd wrote:
> Playing around with the code for a while now I found that, at least in
> the GTK implementation, window.open(), close(), etc is not
> implemented. Can anyone explain to me why this is not implemented?
> Maybe because of security concerns? Wouldn't it be better to have a
> setting defined that restricts this feature instead of not
> implementing it at all?!

I think mostly because code has not been written or has not been
reviewed/commited yet. I think what you are trying to do will probably
be helped by these:

	https://bugs.webkit.org/show_bug.cgi?id=19130
	https://bugs.webkit.org/show_bug.cgi?id=16401

See you,

-- 
Gustavo Noronha Silva <gns at gnome.org>
GNOME contributor: http://www.gnome.org/

_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

-----------------------------------------
This message (including any attachments) may contain confidential
information intended for a specific individual and purpose.  If you
are not the intended recipient, delete this message.  If you are
not the intended recipient, disclosing, copying, distributing, or
taking any action based on this message is strictly prohibited.


More information about the webkit-dev mailing list